summaryrefslogtreecommitdiff
path: root/regcomp.sym
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-12-23 19:30:09 -0700
committerKarl Williamson <public@khwilliamson.com>2012-01-19 11:58:18 -0700
commit3c7606610aea217f76f5efe36a0540064ff6919a (patch)
tree0dd44e6a173a7dfe1c3c49ac62dc32373aa40eb2 /regcomp.sym
parentd2197104bf4db0983b266cf51c5f9b509a1d606b (diff)
downloadperl-3c7606610aea217f76f5efe36a0540064ff6919a.tar.gz
regex: Add new node type EXACTFU_SS
This node will be used to distinguish between the case in a non-UTF8 pattern and string where something could be matched that is of different lengths. The only instance where this can happen is the LATIN SMALL LETTER SHARP S can match the sequences "ss", "Ss", "sS", or "SS", hence the name. This node is not currently generated; this prepares for future commits
Diffstat (limited to 'regcomp.sym')
-rw-r--r--regcomp.sym3
1 files changed, 2 insertions, 1 deletions
diff --git a/regcomp.sym b/regcomp.sym
index 23b9ef2181..09800b44b5 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -97,7 +97,8 @@ BACK BACK, no 0 V ; Match "", "next" ptr points backward.
EXACT EXACT, str ; Match this string (preceded by length).
EXACTF EXACT, str ; Match this non-UTF-8 string (not guaranteed to be folded) using /id rules (w/len).
EXACTFL EXACT, str ; Match this string (not guaranteed to be folded) using /il rules (w/len).
-EXACTFU EXACT, str ; Match this string (folded iff in UTF-8) using /iu rules (w/len).
+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).
+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 EXACT, str ; Match this string (not guaranteed to be folded) using /iaa rules (w/len).
#*Do nothing types