Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: Explain a regexp matched group result

by ig (Vicar)
on Oct 28, 2013 at 19:31 UTC ( [id://1060050]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!C:/strawberry/perl/bin/perl.exe
    #
    ...
    
      print "$1 = " . join('', @something[2..4]) . "\n";
    }
    
  2. or download this
    Group 0: <aacbbbcac>
    Group 1: <ac>
    ...
    Group 3: <bbb> - but ignore it because it is from a previous iteration
    + of the outer capture group
    Group 4: <c>
    ac = ac
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-23 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found