summaryrefslogtreecommitdiff
path: root/regcomp.sym
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2007-01-10 21:33:39 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-01-11 14:47:01 +0000
commitee9b8eaedac8053a01cc9281ada34dd182a8f7d0 (patch)
tree129df8e187e17fb664051b0f7f9a1b55d46fcecd /regcomp.sym
parentb4390064818aaae08b8f53f740ea62f7dd8517a1 (diff)
downloadperl-ee9b8eaedac8053a01cc9281ada34dd182a8f7d0.tar.gz
Add Regexp::Keep \K functionality to regex engine as well as add \v and \V, cleanup and more docs for regatom()
Message-ID: <9b18b3110701101133i46dc5fd0p1476a0f1dd1e9c5a@mail.gmail.com> (plus POD nits by Merijn and myself) p4raw-id: //depot/perl@29756
Diffstat (limited to 'regcomp.sym')
-rw-r--r--regcomp.sym10
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