[Israel.pm] A Matching Inputted Regexps Catch
migo at homemail.com
Thu Nov 11 05:01:38 PST 2004
On 11 Nov 2004 13:12:29 +0200, Shlomi Fish wrote:
> my $regex = "";
> if ($path =~ /$regex/)
I once got into this problem too.
I think this is a horrible misfeature of perl. It would be much wiser to
only trigger this empty regexp "feature" on syntactically empty regexp,
i.e. //. Or disable it completely.
perl -e 'print+chr(64+hex)for+split//,d9b815c07f9b8d1e'
More information about the Perl