From 40d049e43280582bb162c511cc362c246f19862a Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Mon, 30 Oct 2006 21:15:13 +0200 Subject: 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 --- regnodes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'regnodes.h') 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 */ -- cgit v1.2.1