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

Re: position of first matching regex

by InfiniteSilence (Curate)
on May 17, 2014 at 01:43 UTC ( #1086407=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     perl -e '$shoo=q!my name is prince!; while($shoo=~m/i/g){$rx = $+[0] 
    +unless $rx } print $rx;
    
  2. or download this
    9
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-05-18 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?