in reply to
Re-use of a global match
Read up on the
/g
modifier. The second match only starts after the place the first one matched.
Comment on
Re: Re-use of a global match
Download
Code
In Section
Seekers of Perl Wisdom