diff options
author | Yves Orton <demerphq@gmail.com> | 2006-11-06 14:06:28 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-11-07 10:21:25 +0000 |
commit | e2e6a0f1870d05ddb1ce18fd8556b71330dc694c (patch) | |
tree | 567ec172976f421f30d2eccf9516cf6cbc1c9914 /regcomp.sym | |
parent | 9c6bc640227cd4fa081b32554378abe794cacfc0 (diff) | |
download | perl-e2e6a0f1870d05ddb1ce18fd8556b71330dc694c.tar.gz |
New regex syntax omnibus
Message-ID: <9b18b3110611060406u2fa1572as57073949a5df9e62@mail.gmail.com>
Plus a portability fix (in string comparison for regex verbs)
and doc tweaks / podchecker fixes
p4raw-id: //depot/perl@29222
Diffstat (limited to 'regcomp.sym')
-rw-r--r-- | regcomp.sym | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/regcomp.sym b/regcomp.sym index e673313d44..074af13284 100644 --- a/regcomp.sym +++ b/regcomp.sym @@ -169,10 +169,16 @@ INSUBP INSUBP, num 1 Whether we are in a specific recurse. DEFINEP DEFINEP, none 1 Never execute directly. #*Bactracking -OPFAIL OPFAIL, none Same as (?!) -COMMIT COMMIT, none Pattern fails if backtracking through this -CUT COMMIT, none ... and restarts at the cursor point -OPERROR OPERROR,none Pattern fails outright if backtracking through this +ENDLIKE ENDLIKE, none Used only for the type field of verbs +OPFAIL ENDLIKE, none Same as (?!) +ACCEPT ENDLIKE, parno 1 Accepts the current matched string. +VERB VERB, no-sv 1 Used only for the type field of verbs +NOMATCH VERB, no-sv 1 Pattern fails at this startpoint if no-backtracking through this +MARKPOINT VERB, no-sv 1 Push the current location for rollback by cut. +CUT VERB, no-sv 1 On failure cut the string at the mark. +COMMIT VERB, no-sv 1 Pattern fails outright if backtracking through this + + # NEW STUFF ABOVE THIS LINE -- Please update counts below. @@ -210,4 +216,5 @@ CURLYM A,B:FAIL IFMATCH A:FAIL CURLY B_min_known,B_min,B_max:FAIL COMMIT next:FAIL - +MARKPOINT next:FAIL +CUT next:FAIL |