Unrelated tips:
use v5.10; use strict; use warnings; my $re = ...; while ( <> ) { say $1 while /$re/g; }
In reply to Re: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |