in reply to
Re: Empty pattern in regex
in thread
Empty pattern in regex
The
$_ eq $&
is an interesting idea. Note that it only works because of
-l
, otherwise
\n
would have been included in
$_
but not
$&
.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Comment on
Re^2: Empty pattern in regex
Select
or
Download
Code
In Section
Seekers of Perl Wisdom