Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: look-ahead greed changed between perl releases?

by kcott (Abbot)
on May 06, 2014 at 17:59 UTC ( #1085213=note: print w/ replies, xml ) Need Help??


in reply to look-ahead greed changed between perl releases?

G'day raygun,

That was a bug which was fixed in 5.14.0.

From perl5140delta: Regular Expression Bug Fixes:

  • A pattern containing a + inside a lookahead would sometimes cause an incorrect match failure in a global match (for example, /(?=(\S+))/g) [perl #68564].

-- Ken


Comment on Re: look-ahead greed changed between perl releases?
Select or Download Code
Re^2: look-ahead greed changed between perl releases?
by raygun (Novice) on May 06, 2014 at 18:17 UTC
    Aha! I had overlooked that. Thanks, Ken!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1085213]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-11-29 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (204 votes), past polls