develooper Front page | perl.perl5.porters | Postings from July 2013

Re: [perl #119095] Empty regular expression does not match in somecases

Thread Previous
From:
Zefram
Date:
July 31, 2013 16:18
Subject:
Re: [perl #119095] Empty regular expression does not match in somecases
Message ID:
20130731161756.GM11327@fysh.org
Father Chrysostomos via RT wrote:
>Watch out for qr/$userre/.  I fixed that in perl 5.18 (commit
>6a97c51d3ccb), but in earlier perls qr// would trigger the same
>behaviour.

That's what the conditional in my example is avoiding.

-zefram

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About