summaryrefslogtreecommitdiff
path: root/regcomp.sym
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2006-10-30 21:15:13 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-30 17:36:18 +0000
commit40d049e43280582bb162c511cc362c246f19862a (patch)
treec9814e23bdc818ced498f5ecc2141867f3525af8 /regcomp.sym
parentee4d86fe475b15ddee109f44751faf957c1e66af (diff)
downloadperl-40d049e43280582bb162c511cc362c246f19862a.tar.gz
The first patch from:
Subject: [PATCH] regex engine optimiser should grok subroutine patterns, and, name subroutine regops more intuitively Message-ID: <9b18b3110610300915x3abf6cddu9c2071a70bea48e1@mail.gmail.com> p4raw-id: //depot/perl@29161
Diffstat (limited to 'regcomp.sym')
-rw-r--r--regcomp.sym7
1 files changed, 3 insertions, 4 deletions
diff --git a/regcomp.sym b/regcomp.sym
index 73e27a80ed..a61f172a35 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -98,9 +98,8 @@ STAR STAR, node Match this (simple) thing 0 or more times.
PLUS PLUS, node Match this (simple) thing 1 or more times.
CURLY CURLY, sv 2 Match this simple thing {n,m} times.
-CURLYN CURLY, no 2 Match next-after-this simple thing
-# {n,m} times, set parenths.
-CURLYM CURLY, no 2 Match this medium-complex thing {n,m} times.
+CURLYN CURLY, no 2 Capture next-after-this simple thing
+CURLYM CURLY, no 2 Capture this medium-complex thing {n,m} times.
CURLYX CURLY, sv 2 Match this complex thing {n,m} times.
# This terminator creates a loop structure for CURLYX
@@ -156,7 +155,7 @@ AHOCORASICKC TRIE, trie charclass Same as AHOCORASICK, but with embedded charc
#*Recursion (65..66)
RECURSE RECURSE, num/ofs 2L recurse to paren arg1 at (signed) ofs arg2
-SRECURSE RECURSE, no recurse to start of pattern
+SRECURSE SRECURSE, no recurse to start of pattern
#*Named references (67..69)
NREF NREF, no-sv 1 Match some already matched string