diff options
author | Yves Orton <demerphq@gmail.com> | 2009-09-02 17:37:48 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2009-09-02 18:02:40 +0200 |
commit | ba9ac1759cb6e7a5e6883c85edd0b450061b5ccb (patch) | |
tree | 4853570207d7e8c745fbaf5986915a341a74b6c0 /regcomp.h | |
parent | c6b4a156729e014eedc1d104dfb7b1a5d1a6e70e (diff) | |
download | perl-ba9ac1759cb6e7a5e6883c85edd0b450061b5ccb.tar.gz |
set PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS to 0 and enable proper POSIX char class matching
This also alters which Unicode properties that the POSIX character
class and the Perl "special" character classes, like \w and \d map
to. At the same time it allows a number of tests for POSIX character
class behaviour to be switched from todo to non todo. Legacy testing
is still available by changing the define and setting the
PERL_TEST_LEGACY_POSIX_CC value to true.
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,10 +31,11 @@ typedef OP OP_4tree; /* Will be redefined later. */ * * 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 +#define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS 0 /* Should the optimiser take positive assertions into account? */ #define PERL_ENABLE_POSITIVE_ASSERTION_STUDY 0 |