This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Fix "\x{FB01}\x{FB00}" =~ /ff/i
authorKarl Williamson <public@khwilliamson.com>
Fri, 14 Oct 2011 01:56:45 +0000 (19:56 -0600)
committerKarl Williamson <public@khwilliamson.com>
Fri, 14 Oct 2011 02:44:11 +0000 (20:44 -0600)
commit7c1b9f38fcbfdb3a9e1766e02bcb991d1a5452d9
tree3c98257ee4c0e05264c07aa2028e2390d865e3f0
parent6af864889434f3aedc5ff52cae277d1cbfa476d6
regexec.c: Fix "\x{FB01}\x{FB00}" =~ /ff/i

Only the first character of the string was being checked when scanning
for the beginning position of the pattern match.

This was so wrong, it looks like it has to be a regression.  I
experimented a little and did not find any.  I believe (but am not
certain) that a multi-char fold has to be involved.  The the handling of
these was so broken before 5.14 that there very well may not be a
regression.
pod/perldelta.pod
regexec.c
t/re/re_tests