M
metfan
Hi, gurus,
We know that while using regexp to match something, the matched
result will be set in $1, $2, $3, $4..... but, is there a way to
access the result by an index? for example I've a variable called
$index, if has an integer of 10, so the result I need is $10, so
is there any array for me to use like $MatchedResult[$index]?
thanks so much.
We know that while using regexp to match something, the matched
result will be set in $1, $2, $3, $4..... but, is there a way to
access the result by an index? for example I've a variable called
$index, if has an integer of 10, so the result I need is $10, so
is there any array for me to use like $MatchedResult[$index]?
thanks so much.