Good job catching that if ( $row =~ /$re/g ) doesn't make sense. But the solution to finding all matches is replacing the if with a while, not adding "c".
In reply to Re^2: Use global flag when declaring regular expressions with qr?
by ikegami
in thread Use global flag when declaring regular expressions with qr?
by unmatched
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |