Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: position of first matching regex

by InfiniteSilence (Curate)
on May 17, 2014 at 01:43 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-24 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found