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

Re^5: Using Look-ahead and Look-behind

by Anonymous Monk
on Oct 15, 2012 at 15:28 UTC ( #999104=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -Mre=debug -le " $_ = q/foobarfoodrinkAATT/; /foo((?:(?!bar).){1,
    +5}?)AATT/; "
    
  2. or download this
    perl -Mre=debug -le " $_ = q/foobarfoodrinkAATTAATT/; /foo((?:(?!bar).
    +){6,10}?)AATT/; "
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999104]
help
Chatterbox?
and the daffodils sway...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2016-12-10 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (165 votes). Check out past polls.