Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: multiple matches per line *AND* multiple capture groups per match

by educated_foo (Vicar)
on Dec 21, 2013 at 23:25 UTC ( #1068068=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (@groups = /$test_regexp/g) {
        while (@groups) {
    ...
            # ...
        }
    }
    
  2. or download this
    while (/$test_regexp/g) {
        ($url, $file) = ($1, $2);
        # ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2022-01-21 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?