Re: Use of possessive quantifier vs. independent subexpression in rules

2015-02-23 Thread Kevin A. McGrail
On 2/21/2015 12:22 PM, Mark Martinec wrote: In the just released perl 5.21.9 there are some nice features: Looks like we won't be able to use these for the next twenty years 8-} I laughed...

Re: Use of possessive quantifier vs. independent subexpression in rules

2015-02-21 Thread Mark Martinec
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. The widest possible support does generally

Re: Use of possessive quantifier vs. independent subexpression in rules

2015-02-20 Thread John Hardin
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.

Use of possessive quantifier vs. independent subexpression in rules

2015-02-20 Thread Mark Martinec
Back in November 2014 there was a thread: sa-update lint fail on __PDS_FROM_2_EMAILS which resulted in the introduction of a can(perl_min_version_...) directive: [Bug 7107] RFE: if() preprocessor directive should support a test for perl version I don't mind having the possibility to test

Re: Use of possessive quantifier vs. independent subexpression in rules

2015-02-20 Thread Quanah Gibson-Mount
--On Friday, February 20, 2015 7:50 PM +0100 Mark Martinec mark.martinec...@ijs.si 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

Re: Use of possessive quantifier vs. independent subexpression in rules

2015-02-20 Thread Kevin A. McGrail
On 2/20/2015 1:50 PM, Mark Martinec wrote: Back in November 2014 there was a thread: sa-update lint fail on __PDS_FROM_2_EMAILS which resulted in the introduction of a can(perl_min_version_...) directive: [Bug 7107] RFE: if() preprocessor directive should support a test for perl version

Re: Use of possessive quantifier vs. independent subexpression in rules

2015-02-20 Thread John Hardin
On Fri, 20 Feb 2015, Kevin A. McGrail wrote: On 2/20/2015 1:50 PM, 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