This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Allow trie use for /iaa matching
authorKarl Williamson <public@khwilliamson.com>
Wed, 21 Aug 2013 03:51:23 +0000 (21:51 -0600)
committerKarl Williamson <public@khwilliamson.com>
Thu, 29 Aug 2013 16:57:00 +0000 (10:57 -0600)
commit098b07d5cb1d6aa13b81a0f43ea5e151829ad26c
tree79c67f7773fb4036beff3241b6815371fd181405
parentdf38da56ea2adcf9854f6ca209dbb8630c7b9187
Allow trie use for /iaa matching

This adds code so that tries can be formed under /iaa, which formerly
weren't handled.  A problem occurs when the string contains the LATIN
SMALL LETTER SHARP S when the regex pattern is not UTF-8 encoded.  I
tried several ways to get this to work easily, but ended up deciding it
was too hard, to in this one situation, a new regnode is created to
prevent the trie code from even trying to turn it into a trie.
pod/perldebguts.pod
pod/perldelta.pod
regcomp.c
regcomp.sym
regexec.c
regnodes.h