Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Regular expression fetching multiple matchesby dave_the_m (Monsignor) |
on Jan 06, 2013 at 11:17 UTC ( [id://1011876]=note: print w/replies, xml ) | Need Help?? |
Replace the second .* with .*? . The greedy match is consuming both anchors.
Dave.
In Section
Seekers of Perl Wisdom
|
|