diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-02-28 10:42:28 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-02-28 10:55:47 -0700 |
commit | 779d7b583592ec4538f1c48ad25793abb6ef5283 (patch) | |
tree | c0be27b6f2974596183b93325f4f6fed0dd92564 /regcomp.h | |
parent | f16e84848f6a95a191ead227168e0c7b887d9565 (diff) | |
download | perl-779d7b583592ec4538f1c48ad25793abb6ef5283.tar.gz |
regex: Remove obsolete code
This code has been rendered obsolete in 5.14 by using a different
mechanism altogether. This functionality is now provided at run-time,
user-selectable, via the /u and /d regex modifiers. This code was
for compile-time selection of which to use.
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -18,25 +18,6 @@ typedef OP OP_4tree; /* Will be redefined later. */ /* Be really aggressive about optimising patterns with trie sequences? */ #define PERL_ENABLE_EXTENDED_TRIE_OPTIMISATION 1 -/* Use old style unicode mappings for perl and posix character classes - * - * NOTE: Enabling this essentially breaks character class matching against unicode - * strings, so that POSIX char classes match when they shouldn't, and \d matches - * way more than 10 characters, and sometimes a charclass and its complement either - * both match or neither match. - * NOTE: Disabling this will cause various backwards compatibility issues to rear - * their head, and tests to fail. However it will make the charclass behaviour - * consistent regardless of internal string type, and make character class inversions - * consistent. The tests that fail in the regex engine are basically broken tests. - * - * Personally I think 5.12 should disable this for sure. Its a bit more debatable for - * 5.10, so for now im leaving it enabled. - * XXX: It is now enabled for 5.11/5.12 - * - * -demerphq - */ -#define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS 1 - /* Should the optimiser take positive assertions into account? */ #define PERL_ENABLE_POSITIVE_ASSERTION_STUDY 0 |