Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by patrick.j (Acolyte)
on Aug 02, 2010 at 12:02 UTC ( #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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2023-02-04 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (31 votes). Check out past polls.

    Notices?