diff options
author | Yves Orton <demerphq@gmail.com> | 2008-11-07 20:20:21 +0000 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2008-11-07 20:20:21 +0000 |
commit | da7fcca4b8d6fb4dc88e0305bf9830bf24912ebd (patch) | |
tree | d05a14842c3d234ee9e4f5d1f692c20733133eb1 /lib/bignum/t/bigrat.t | |
parent | 463559e728b65f7b60e46efa081b43ff1b4b6fa4 (diff) | |
download | perl-da7fcca4b8d6fb4dc88e0305bf9830bf24912ebd.tar.gz |
create new unicode props as defined in POSIX spec (optionally use them in the regex engine)
Perlbug #60156 and #49302 (and probably others) resolve down to the problem
that the definition of \s and \w and \d and the POSIX charclasses are different
for unicode strings and for non-unicode strings. This broke the character class
logic in the regex engine. The easiest fix to make the character class logic sane
again is to define new properties which do match.
This change creates new property classes that can be used instead of the
traditional ones (it does not change the previously defined ones). If the
define in regcomp.h:
#define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS 1
is changed to 0, then the new mappings will be used. This will fix a bunch
of bugs that are reported as TODO items in the new reg_posixcc.t test file.
p4raw-id: //depot/perl@34769
Diffstat (limited to 'lib/bignum/t/bigrat.t')
0 files changed, 0 insertions, 0 deletions