- or download this
my $qr=qr/^normal$/;
my $bqr=bless qr/^blessed$/,"Foo";
print "Normal : $qr\n";
print "Blessed: $bqr\n";
- or download this
Normal : (?-xism:^normal$)
Blessed: Foo=SCALAR(0x1acf020)
- or download this
SV *
regexp(sv)
...
/* 'twould appear it aint a regex, so return undef/empty list */
XSRETURN_UNDEF;
}
- or download this
my $qr=qr/^foo$/;
while (length $qr < 1000) {
print "$qr\n";
$qr=eval "qr/$qr/" or die $@;
}
- or download this
(?-xism:^foo$)
(?-xism:(?-xism:^foo$))
...
(?-xism:(?-xism:(?-xism:(?-xism:(?-xism:^foo$)))))
(?-xism:(?-xism:(?-xism:(?-xism:(?-xism:(?-xism:^foo$))))))
...