This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add regnode EXACTFUP, for problematic
authorKarl Williamson <khw@cpan.org>
Sun, 23 Dec 2018 20:33:07 +0000 (13:33 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 26 Dec 2018 19:50:37 +0000 (12:50 -0700)
commit627a7895564679975632d9b637b27e9c09d3d985
tree9327f6dc100bff6d53d4cbac11f182be8a4156f2
parentaa419ff31a1e359d67cd44223a599ef9f276ca12
Add regnode EXACTFUP, for problematic

If a non-UTF-8 pattern contains a MICRO SIGN, this special node is now
created.  This character is the only one not needing UTF-8 to represent,
but its fold does need UTF-8, which causes some issues, so it has to be
specially handled.  When matching against a non-UTF-8 target string, the
pattern is effectively folded, but not if the target is UTF-8.  By
creating this node, we can remove the special handling required for the
nodes that don't have a MICRO SIGN, in a future commit.
pod/perldebguts.pod
regcomp.c
regcomp.sym
regexec.c
regnodes.h