diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-08-20 21:51:23 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-08-29 10:57:00 -0600 |
commit | 098b07d5cb1d6aa13b81a0f43ea5e151829ad26c (patch) | |
tree | 79c67f7773fb4036beff3241b6815371fd181405 /regcomp.sym | |
parent | df38da56ea2adcf9854f6ca209dbb8630c7b9187 (diff) | |
download | perl-098b07d5cb1d6aa13b81a0f43ea5e151829ad26c.tar.gz |
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.
Diffstat (limited to 'regcomp.sym')
-rw-r--r-- | regcomp.sym | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/regcomp.sym b/regcomp.sym index 8b19bffa43..7d3cdc0a02 100644 --- a/regcomp.sym +++ b/regcomp.sym @@ -100,6 +100,7 @@ EXACTFL EXACT, str ; Match this string (not guaranteed to be fold EXACTFU EXACT, str ; Match this string (folded iff in UTF-8, length in folding doesn't change if not in UTF-8) using /iu rules (w/len). EXACTFA EXACT, str ; Match this string (not guaranteed to be folded) using /iaa rules (w/len). EXACTFU_SS EXACT, str ; Match this string (folded iff in UTF-8, length in folding may change even if not in UTF-8) using /iu rules (w/len). +EXACTFA_NO_TRIE EXACT, str ; Match this string (which is not trie-able; not guaranteed to be folded) using /iaa rules (w/len). #*Do nothing types |