in reply to
Regex shows only last match multiple times?
aha,
Answering my own question..
Obviously I should use
while
as opposed to
foreach
as it otherwise keeps interpolating the variable
$1
Comment on
Re: Regex shows only last match multiple times?
In Section
Seekers of Perl Wisdom