my $r1 = qr/hello/i; my $r2 = qr/hello/; is_ci($r1); # true is_ci($r2); # false