my $r1 = qr/hello/i; my $r2 = qr/hello/; is_ci($r1); # true is_ci($r2); # false [download]
In reply to Get regexp modifiers by KSURi