Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: zero-width assertions for extended regular expressions

by Laurent_R (Prior)
on May 26, 2014 at 21:14 UTC ( #1087445=note: print w/ replies, xml ) Need Help??


in reply to Re: zero-width assertions for extended regular expressions
in thread zero-width assertions for extended regular expressions

Yep.

$ perl -e 'my $string = "54W"; warn "1 true\n" if $string =~ /(?<=4)W/ +;' 1 true


Comment on Re^2: zero-width assertions for extended regular expressions
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2015-07-01 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls