This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Latin1 chars can fold match UTF8_ALL
authorKarl Williamson <public@khwilliamson.com>
Sat, 27 Nov 2010 17:26:01 +0000 (10:26 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 28 Nov 2010 12:49:14 +0000 (04:49 -0800)
commite2e755386e52b4bdb22a5c9618390859ed5f7323
treed610bd004bf05cbe53f0f33d9df2b0b5691c7eec
parent35bae5983226710c4c6eb1565b5e105b0599a820
regexec.c: Latin1 chars can fold match UTF8_ALL

Some ANYOF regnodes have the ANYOF_UNICODE_ALL flag set, which means
they match any non-Latin1 character.  These should match /i (in a utf8
target string) any ASCII or Latin1 character that folds outside the
Latin1 range

As part of this patch, an internal only macro is renamed to account for its
new use in regexec.c.  The cumbersome name is to ward off others from
using it until the final semantics have been settled on.
handy.h
regcomp.c
regexec.c