Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: regex : finding the location multiple clustered (in parenthesis) groups

by patrick.j (Acolyte)
on Aug 02, 2010 at 12:02 UTC ( [id://852456]=note: print w/replies, xml ) Need Help??


in reply to regex : finding the location multiple clustered (in parenthesis) groups

You Might Consider using @- (or @LAST_MATCH_START with use English)
  1. It holds exactly what you are asking for first matching Group start at $-1, first matching group end at $+1.
  2. see 1. (use something like @-1,2)
  • Comment on Re: regex : finding the location multiple clustered (in parenthesis) groups

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found