diff options
author | Yves Orton <demerphq@gmail.com> | 2006-11-22 18:11:02 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-11-22 17:09:33 +0000 |
commit | 58e23c8d7d24dd08c87b5d56819ad45527176c15 (patch) | |
tree | 1ed907b4695e2e09aa8e20c637acf4ac4ac1c1f3 /regexp.h | |
parent | b775e6bae012223b0a5cf674d4a41f12f635fb75 (diff) | |
download | perl-58e23c8d7d24dd08c87b5d56819ad45527176c15.tar.gz |
\G with /g results in infinite loop in 5.6 and later
Message-ID: <9b18b3110611220811k1a54f650t1bd7c6a9450b0a7e@mail.gmail.com>
p4raw-id: //depot/perl@29354
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -54,6 +54,7 @@ typedef struct regexp { I32 refcnt; I32 minlen; /* mininum possible length of string to match */ I32 minlenret; /* mininum possible length of $& */ + U32 gofs; /* chars left of pos that we search from */ I32 prelen; /* length of precomp */ U32 nparens; /* number of parentheses */ U32 lastparen; /* last paren matched */ @@ -114,6 +115,7 @@ typedef struct regexp_engine { #define ROPT_MATCH_UTF8 0x10000000 /* subbeg is utf-8 */ #define ROPT_VERBARG_SEEN 0x20000000 #define ROPT_CUTGROUP_SEEN 0x40000000 +#define ROPT_GPOS_FLOAT 0x80000000 #define RE_USE_INTUIT_NOML 0x00100000 /* Best to intuit before matching */ #define RE_USE_INTUIT_ML 0x00200000 |