in reply to Printing regular expression variable
my $regex = qr/^.*$/m; print "$regex\n"; # (?^um:^.*$) in 5.16.0
See perlre - Perl regular expressions for details.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printing regular expression variable
by MattLG (Beadle) on May 27, 2013 at 23:04 UTC | |
by choroba (Cardinal) on May 27, 2013 at 23:09 UTC |