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

Re: [perl #116823] Regexp::Grammars broken since 5.17.1

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
April 12, 2013 14:58
Subject:
Re: [perl #116823] Regexp::Grammars broken since 5.17.1
Message ID:
20130412145715.GE2207@iabyn.com
On Thu, Apr 11, 2013 at 10:39:26AM +0100, Dave Mitchell wrote:
> On Sun, Mar 10, 2013 at 12:48:16AM +0000, Dave Mitchell wrote:
> > However, I would expect something like the following *should* work and be
> > safe, but it doesn't:
> > 
> >     use re 'eval'; return qr/(?{ $RGP::Success = 1 })$$re/;
> > 
> > And as you pointed out,  a 'use re eval' even in the scope of the main
> > qr/foo/ doesn't turn off the fatal error. So there's definitely something
> > there needing more work.
> 
> The branch smoke-me/davem/re_overload, currently being smoked and shortly
> to be merged into blead, should fix this.

And now in blead with commit

    e501306eca0fea1cc9fc53e2eb024ad37e85ce59

-- 
My get-up-and-go just got up and went.

Thread Previous | Thread Next


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