Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: how to use string RE (against $_ and capture)by AnomalousMonk (Archbishop) |
on Nov 08, 2016 at 00:41 UTC ( [id://1175499]=note: print w/replies, xml ) | Need Help?? |
... multiple matches in "re_str" being captured ...
Note the /g modifier in the my @captures = $str =~ m{ $re_str1 }xmsg; statement. Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|