./perl -Ilib -le' my $r = ${ qr/abc/ }; print $r; print ref($r) ?1:0; print re::is_regexp($r) ?1:0; print "abc" =~ $r ?1:0; ' (?-xism:abc) 0 1 1
"sufficiently modern" appears to mean ≥5.12 in this case
In reply to Re^4: Get regexp modifiers
by ikegami
in thread Get regexp modifiers
by KSURi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |