Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Regex bug in 5.10 (was: Using Look-ahead and Look-behind)

by almut (Canon)
on May 08, 2009 at 15:06 UTC ( #762846=note: print w/replies, xml ) Need Help??


in reply to Regex bug in 5.10 (was: Using Look-ahead and Look-behind)
in thread Using Look-ahead and Look-behind

...which (in pre-5.10) will output empty strings every time.

With 5.10.0, /(?=(.*?))/g; outputs one empty string.  And I can confirm the behavior reported by jds17 with /(?=(.*))/g.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://762846]
help
Chatterbox?
[erix]: "can you tune our database?"
[thezip]: .oO( "A Well-Tempered Database" ? )
[Corion]: I'd like a well-tempered tuning
[Corion]: thezip: :D
[erix]: haha

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2017-11-17 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (270 votes). Check out past polls.

    Notices?