summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorYves Orton <yves.orton@booking.com>2014-02-02 23:37:37 +0800
committerYves Orton <yves.orton@booking.com>2014-02-03 22:44:29 +0800
commitee273784a82417ff7a4ec06716556fb7fb705427 (patch)
tree8f471a22d18b3b440cc87d95c8910ec01fe07b28 /regcomp.h
parentf25474b0531878b277e2bd50a823ced1a3df6000 (diff)
downloadperl-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/regcomp.h b/regcomp.h
index 551f00d193..832ed3e542 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -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