Help for this page
Select Code to Download
Select
or
download this
my $re = input-from-user; eval {my $dummy = qr/$re/; 1} or die "Illegal regexp";