This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move ANYOF folding from regexec to regcomp
authorKarl Williamson <public@khwilliamson.com>
Wed, 2 Feb 2011 19:01:34 +0000 (12:01 -0700)
committerKarl Williamson <public@khwilliamson.com>
Wed, 2 Feb 2011 23:31:23 +0000 (16:31 -0700)
commit56ca34cada940c7f6aae9a59da266e541530041e
tree98fd450cd1ce016ebeddfdbe4d2241925b1fc618
parent19c4061aa8fa454637e29db1afd668c3f66d3a01
Move ANYOF folding from regexec to regcomp

This is for security as well as performance.  It allows Unicode properties to
not be matched case sensitively.  As a result the swash inversion hash is
converted from having utf8 keys to numeric, code point, keys.

It also for the first time fixes the bug where /i doesn't work for a code point
not at the end of a range in a bracketed character class has a multi-character
fold
lib/unicore/mktables
pod/perldelta.pod
pod/perlrecharclass.pod
pod/perlunicode.pod
regcomp.c
regexec.c
utf8.c