diff options
author | Yves Orton <demerphq@gmail.com> | 2006-11-02 13:35:10 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-11-02 12:26:47 +0000 |
commit | 24b23f37fefbcc71a881f6805d87449a234dc645 (patch) | |
tree | d7d4e050bd8ca74d9f9ca74ded7a2eb0f91e56b7 /regcomp.sym | |
parent | 68d3ba501ed4219f9b173a4c9e373c024180d087 (diff) | |
download | perl-24b23f37fefbcc71a881f6805d87449a234dc645.tar.gz |
Add more backtracking control verbs to regex engine (?CUT), (?ERROR)
Message-ID: <9b18b3110611020335h7ea469a8g28ca483f6832816d@mail.gmail.com>
p4raw-id: //depot/perl@29189
Diffstat (limited to 'regcomp.sym')
-rw-r--r-- | regcomp.sym | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/regcomp.sym b/regcomp.sym index f60368cb8b..e673313d44 100644 --- a/regcomp.sym +++ b/regcomp.sym @@ -170,7 +170,9 @@ DEFINEP DEFINEP, none 1 Never execute directly. #*Bactracking OPFAIL OPFAIL, none Same as (?!) -COMMIT COMMIT, node Pattern fails if backtracking through this +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 # NEW STUFF ABOVE THIS LINE -- Please update counts below. @@ -207,4 +209,5 @@ BRANCH next:FAIL CURLYM A,B:FAIL IFMATCH A:FAIL CURLY B_min_known,B_min,B_max:FAIL -COMMIT next:FAIL +COMMIT next:FAIL + |