diff options
author | Yves Orton <demerphq@gmail.com> | 2006-10-12 23:23:15 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-13 09:02:05 +0000 |
commit | b9b4dddfa592f0a0a9bfbbcc9a725253c5d991f1 (patch) | |
tree | 5f71dc4a80fd4ecf351ca7a44ebf79c5a577cefe /regcomp.h | |
parent | c1e8580e8ecd78fc1f67b0caa695b9884a700d93 (diff) | |
download | perl-b9b4dddfa592f0a0a9bfbbcc9a725253c5d991f1.tar.gz |
Add possessive quantifiers to regex engine.
Message-ID: <9b18b3110610121223m191e47ddtce3398cb0e8ba320@mail.gmail.com>
With doc tweaks
p4raw-id: //depot/perl@29005
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -15,6 +15,12 @@ typedef OP OP_4tree; /* Will be redefined later. */ #define PERL_ENABLE_EXTENDED_TRIE_OPTIMISATION 1 #define PERL_ENABLE_POSITIVE_ASSERTION_STUDY 1 #define PERL_ENABLE_EXPERIMENTAL_REGEX_OPTIMISATIONS 0 +/* Unless the next line is uncommented it is illegal to combine lazy + matching with possessive matching. Frankly it doesn't make much sense + to allow it as X*?+ matches nothing, X+?+ matches a single char only, + and X{min,max}?+ matches min times only. + */ +/* #define REG_ALLOW_MINMOD_SUSPEND */ /* * The "internal use only" fields in regexp.h are present to pass info from |