On Fri, 20 Feb 2015, Mark Martinec wrote:

As the possessive quantifier is just a shorthand for the independent subexpression (?>pattern), which was introduced with 5.8, wouldn't it be just easier to rewrite these few rules and avoid the possessive quantifier, along with all their conditionals.

I will take a look at where I've had to use a 5.10 possessive quantifier to avoid runaway backtracking. If it does work then I will use it in place of the possessive quantifier shorthand.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 [email protected]    FALaholic #11174     pgpk -a [email protected]
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
 What nuts do with guns is terrible, certainly. But what evil or crazy
 people do with *anything* is not a valid argument for banning that
 item.                            -- John C. Randolph <[email protected]>
-----------------------------------------------------------------------
 2 days until George Washington's 283rd Birthday

Reply via email to