This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Handle REFFU and NREFFU; refactor
authorKarl Williamson <public@khwilliamson.com>
Wed, 1 Dec 2010 05:05:25 +0000 (22:05 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 2 Dec 2010 02:17:24 +0000 (18:17 -0800)
commitd7ef4b7364482c4749537ca35a54bca0956e5709
tree77b33b3ad5dd9c4b3775e50d2279e73b2a96cd81
parentd08723ac389e1bb953f17d6b0bf72f567509de20
regexec.c: Handle REFFU and NREFFU; refactor

This adds handling of the Unicode folding semantics capture buffer
backreferences.  I've refactored the code so that the case statements
set up the type of folding, to avoid having to test for which in the
common code.

Also, the previous code was confusing fold case and lowercase.  There is
already a routine to handle the fold case, so that simplified things.
regexec.c