Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: multiple matches with regexpby thelenm (Vicar) |
on Oct 10, 2003 at 21:20 UTC ( [id://298423]=note: print w/replies, xml ) | Need Help?? |
You can do this by doing a global match and resetting pos on each iteration to the position after the match, like this:
-- Mike --
In Section
Seekers of Perl Wisdom
|
|