diff options
Diffstat (limited to 'regcomp.sym')
-rw-r--r-- | regcomp.sym | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/regcomp.sym b/regcomp.sym index 656988e10b..c57a386af7 100644 --- a/regcomp.sym +++ b/regcomp.sym @@ -158,9 +158,9 @@ GOSUB GOSUB, num/ofs 2L recurse to paren arg1 at (signed) ofs arg2 GOSTART GOSTART, 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. +NREF REF, no-sv 1 Match some already matched string +NREFF REF, no-sv 1 Match already matched string, folded +NREFFL REF, no-sv 1 Match already matched string, folded in loc. #*Special conditionals (70..72) @@ -182,6 +182,9 @@ SKIP VERB, no-sv 1 On failure skip forward (to the mark) before retrying COMMIT VERB, no-sv 1 Pattern fails outright if backtracking through this CUTGROUP VERB, no-sv 1 On failure go to the next alternation in the group +#*Control what to keep in $&. +KEEPS KEEPS, no $& begins here. + # NEW STUFF ABOVE THIS LINE -- Please update counts below. ################################################################################ @@ -221,3 +224,4 @@ COMMIT next:FAIL MARKPOINT next:FAIL SKIP next:FAIL CUTGROUP next:FAIL +KEEPS next:FAIL |