From 7fcd3a28e7ffbe190def12c7e16a921175e2339c Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 30 Nov 2010 21:39:16 -0700 Subject: 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 --- regcomp.sym | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'regcomp.sym') 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 ################################################################################ -- cgit v1.2.1