in reply to Re^2: ERROR ... nested quantifiers in regex
in thread ERROR ... nested quantifiers in regex

You need to use a perl older than 5.10 to use these regex features you were trying to use, they were introduced in
p595-Possessive Quantifiers
Perl now supports the "possessive quantifier" syntax of the "atomic match" pattern. Basically a possessive quantifier matches as much as it can and never gives any back. Thus it can be used to control backtracking. The syntax is similar to non-greedy matching, except instead of using a '?' as the modifier the '+' is used. Thus ?+, *+, ++, {min,max}+ are now legal quantifiers. (Yves Orton)
  • Comment on Re^3: ERROR ... nested quantifiers in regex

Replies are listed 'Best First'.
Re^4: ERROR ... nested quantifiers in regex
by AnomalousMonk (Archbishop) on Jul 06, 2011 at 20:05 UTC
    ... a perl older than 5.10 ...

    Should be: "... a Perl of version 5.10 or newer ...".

      Right :) older in the human sense, bigger age (version number )