Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Using Look-ahead and Look-behind

by jds17 (Pilgrim)
on May 07, 2009 at 16:13 UTC ( #762651=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $_ = "Hello";
    print "$1\n" while /(?=(.*))/g;
    
  2. or download this
    Hello
    
  3. or download this
    $_ = "Hello";
    print "$1\n" while /(?=(.*)?)/g;
    
  4. or download this
    Hello
    ello
    ...
    lo
    o
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (17)
As of 2014-08-27 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (243 votes), past polls