diff options
author | Yves Orton <yves.orton@booking.com> | 2014-02-02 23:37:37 +0800 |
---|---|---|
committer | Yves Orton <yves.orton@booking.com> | 2014-02-03 22:44:29 +0800 |
commit | ee273784a82417ff7a4ec06716556fb7fb705427 (patch) | |
tree | 8f471a22d18b3b440cc87d95c8910ec01fe07b28 /regcomp.h | |
parent | f25474b0531878b277e2bd50a823ced1a3df6000 (diff) | |
download | perl-ee273784a82417ff7a4ec06716556fb7fb705427.tar.gz |
Add RXf_UNBOUNDED_QUANTIFIER and regexp->maxlen
The flag tells us that a pattern may match an infinitely long string.
The new member in the regexp struct tells us how long the string might
be.
With these two items we can implement regexp based $/
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -582,6 +582,8 @@ struct regnode_ssc { #define REG_RUN_ON_COMMENT_SEEN 0x00000200 #define REG_UNFOLDED_MULTI_SEEN 0x00000400 #define REG_GOSTART_SEEN 0x00000800 +#define REG_UNBOUNDED_QUANTIFIER_SEEN 0x00001000 + START_EXTERN_C |