summaryrefslogtreecommitdiff
path: root/regcomp.sym
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-12-18 10:42:30 -0700
committerKarl Williamson <khw@cpan.org>2014-12-29 13:52:56 -0700
commita4525e789871d3846f20d0ea7d2d239c6a21a5a4 (patch)
tree06441d6a5a5038c8ef54a185ce585d54f7c56b3a /regcomp.sym
parente7fd4aa18abbfe0099d4947060c99ca85f42f764 (diff)
downloadperl-a4525e789871d3846f20d0ea7d2d239c6a21a5a4.tar.gz
Add regex nodes for locale
These will be used in a future commit to distinguish between /l patterns vs non-/l.
Diffstat (limited to 'regcomp.sym')
-rw-r--r--regcomp.sym3
1 files changed, 3 insertions, 0 deletions
diff --git a/regcomp.sym b/regcomp.sym
index f2ddab1ae3..c20c5aaad1 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -58,6 +58,7 @@ REG_ANY REG_ANY, no 0 S ; Match any one character (except newline).
SANY REG_ANY, no 0 S ; Match any one character.
CANY REG_ANY, no 0 S ; Match any one byte.
ANYOF ANYOF, sv 1 S ; Match character in (or not in) this class, single char match only
+ANYOFL ANYOF, sv 1 S ; Like ANYOF, but /l is in effect
#* POSIX Character Classes:
# Order of the below is important. See ordering comment above.
@@ -90,6 +91,7 @@ BRANCH BRANCH, node 0 V ; Match this alternative, or the next...
# NOTE: the relative ordering of these types is important do not change it
EXACT EXACT, str ; Match this string (preceded by length).
+EXACTL EXACT, str ; Like EXACT, but /l is in effect.
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, length in folding doesn't change if not in UTF-8) using /iu rules (w/len).
@@ -98,6 +100,7 @@ EXACTFA EXACT, str ; Match this string (not guaranteed to be folded)
# End of important relative ordering.
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).
+EXACTFLU8 EXACT, str ; Rare cirucmstances: like EXACTFU, but is under /l, UTF-8, folded, and everything in it is above 255.
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