diff options
author | Yves Orton <demerphq@gmail.com> | 2006-10-06 21:16:01 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-07 14:30:32 +0000 |
commit | 81714fb9c03d91d66b66cab6e899e81bf64a2ca7 (patch) | |
tree | 40861dec0355f417fff2a7ff3c393082960066cc /regcomp.sym | |
parent | f5def3a2a0d8913110936f9f4e13e37835754c28 (diff) | |
download | perl-81714fb9c03d91d66b66cab6e899e81bf64a2ca7.tar.gz |
Re: [PATCH] Initial attempt at named captures for perls regexp engine
Message-ID: <9b18b3110610061016x5ddce965u30d9a821f632d450@mail.gmail.com>
p4raw-id: //depot/perl@28957
Diffstat (limited to 'regcomp.sym')
-rw-r--r-- | regcomp.sym | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/regcomp.sym b/regcomp.sym index f3f71644a4..21904e1865 100644 --- a/regcomp.sym +++ b/regcomp.sym @@ -77,9 +77,9 @@ BACK BACK, no Match "", "next" ptr points backward. #*Literals (33..35) -EXACT EXACT, sv Match this string (preceded by length). -EXACTF EXACT, sv Match this string, folded (prec. by length). -EXACTFL EXACT, sv Match this string, folded in locale (w/len). +EXACT EXACT, str Match this string (preceded by length). +EXACTF EXACT, str Match this string, folded (prec. by length). +EXACTFL EXACT, str Match this string, folded in locale (w/len). #*Do nothing types (36..37) @@ -154,15 +154,21 @@ TRIEC TRIE, trie charclass Same as TRIE, but with embedded charclass data AHOCORASICK TRIE, trie 1 Aho Corasick stclass. flags==type AHOCORASICKC TRIE, trie charclass Same as AHOCORASICK, but with embedded charclass data -#*Recursion (65) +#*Recursion (65..66) RECURSE RECURSE, num/ofs 2L recurse to paren arg1 at (signed) ofs arg2 SRECURSE RECURSE, no recurse to start of pattern +#*Named references (67..69) +NREF NREF, no-sv 1 Match some already matched string +NREFF NREF, no-sv 1 Match already matched string, folded +NREFFL NREF, no-sv 1 Match already matched string, folded in loc. + + # NEW STUFF ABOVE THIS LINE -- Please update counts below. ################################################################################ -#*SPECIAL REGOPS (65, 66) +#*SPECIAL REGOPS (70, 71) # This is not really a node, but an optimized away piece of a "long" node. # To simplify debugging output, we mark it as if it were a node |