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