Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: look-ahead greed changed between perl releases?

by kcott (Canon)
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

Replies are listed 'Best First'.
Re^2: look-ahead greed changed between perl releases?
by raygun (Acolyte) on May 06, 2014 at 18:17 UTC
    Aha! I had overlooked that. Thanks, Ken!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1085213]
[choroba]: just one of its angles, in fact
[LanX]: <|--
[choroba]: Reminds me of an old joke about an orchestra...
erix imagines that in a true Lancs accent
[choroba]: so a Czech orchestra rehearses a new piece by a German composer
LanX LOL of the day ... the Turkish Anonymous Alcoholics stopped their "No to alcohol" campaign for political reasons ...
LanX omg my browser is posting again on its own ...
[LanX]: choroba: GREAT JOKE! xD

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-03-27 11:46 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (319 votes). Check out past polls.