Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: regex for multiple capture within boundary

by johngg (Canon)
on Jul 16, 2006 at 22:14 UTC ( #561607=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @nums = ($x =~ /\s(\S+)/)[1] =~ /(\d+)/g;
    
  2. or download this
    3
    33
    
  3. or download this
    my @nums = ($x =~ /\s(\S+)/g)[1] =~ /(\d+)/g;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2023-03-26 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?