while ($str =~ m{$your_regex}g) { my ($x, $y) = ($1, $2); # This loop will repeat for as many matches as are in $str }
Cheers - L~R
In reply to Re^3: qr for recursive regex?
by Limbic~Region
in thread qr for recursive regex?
by darisler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |