diff options
author | Yves Orton <demerphq@gmail.com> | 2006-10-30 21:15:13 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-30 17:36:18 +0000 |
commit | 40d049e43280582bb162c511cc362c246f19862a (patch) | |
tree | c9814e23bdc818ced498f5ecc2141867f3525af8 /regnodes.h | |
parent | ee4d86fe475b15ddee109f44751faf957c1e66af (diff) | |
download | perl-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 'regnodes.h')
-rw-r--r-- | regnodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regnodes.h b/regnodes.h index d6842b52c3..e3d18378f2 100644 --- a/regnodes.h +++ b/regnodes.h @@ -50,8 +50,8 @@ #define STAR 38 /* 0x26 Match this (simple) thing 0 or more times. */ #define PLUS 39 /* 0x27 Match this (simple) thing 1 or more times. */ #define CURLY 40 /* 0x28 Match this simple thing {n,m} times. */ -#define CURLYN 41 /* 0x29 Match next-after-this simple thing */ -#define CURLYM 42 /* 0x2a Match this medium-complex thing {n,m} times. */ +#define CURLYN 41 /* 0x29 Capture next-after-this simple thing */ +#define CURLYM 42 /* 0x2a Capture this medium-complex thing {n,m} times. */ #define CURLYX 43 /* 0x2b Match this complex thing {n,m} times. */ #define WHILEM 44 /* 0x2c Do curly processing and see if rest matches. */ #define OPEN 45 /* 0x2d Mark this point in input as start of */ @@ -191,7 +191,7 @@ EXTCONST U8 PL_regkind[] = { TRIE, /* AHOCORASICK */ TRIE, /* AHOCORASICKC */ RECURSE, /* RECURSE */ - RECURSE, /* SRECURSE */ + SRECURSE, /* SRECURSE */ NREF, /* NREF */ NREF, /* NREFF */ NREF, /* NREFFL */ |