summaryrefslogtreecommitdiff
path: root/regcomp.sym
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-11-30 21:39:16 -0700
committerFather Chrysostomos <sprout@cpan.org>2010-12-01 18:10:21 -0800
commit7fcd3a28e7ffbe190def12c7e16a921175e2339c (patch)
tree2ece6b78813bf7019bf770824c8b60b174e03a0c /regcomp.sym
parent60c7e6729abcbf29933292741d6e80291f00a7c0 (diff)
downloadperl-7fcd3a28e7ffbe190def12c7e16a921175e2339c.tar.gz
regcomp.sym: Add REFFU and NREFFU nodes
These will be used for matching capture buffers case-insensitively using Unicode semantics. make regen will regenerate the delivered regnodes.h
Diffstat (limited to 'regcomp.sym')
-rw-r--r--regcomp.sym7
1 files changed, 7 insertions, 0 deletions
diff --git a/regcomp.sym b/regcomp.sym
index ab57929310..4e787a7bf3 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -194,6 +194,13 @@ NHORIZWS NHORIZWS, none 0 S ; not horizontal whitespace (Perl 6)
FOLDCHAR FOLDCHAR, codepoint 1 ; codepoint with tricky case folding properties.
EXACTFU EXACT, str ; Match this string, folded, Unicode semantics for non-utf8 (prec. by length).
+# These could have been implemented using the FLAGS field of the regnode, but
+# by having a separate node type, we can use the existing switch statement to
+# avoid some tests
+REFFU REF, num 1 V ; Match already matched string, folded using unicode semantics for non-utf8
+NREFFU REF, num 1 V ; Match already matched string, folded using unicode semantics for non-utf8
+
+
# NEW STUFF ABOVE THIS LINE
################################################################################