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

Re: Perl 5.18 and Regexp::Grammars

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
June 27, 2013 16:49
Subject:
Re: Perl 5.18 and Regexp::Grammars
Message ID:
20130627164855.GO3729@plum.flirble.org
On Thu, Jun 27, 2013 at 05:32:58PM +0100, Dave Mitchell wrote:
> On Wed, Jun 26, 2013 at 11:24:49PM -0400, Ricardo Signes wrote:
> > I hope it turns out that there is a way to repair R::G for 5.18.0.  I've sent
> > Damian an email about this yesterday, and I'm copying him on this one.
> > Hopefully we can begin a dialog about the specific problems and how they might
> > be addressed.
> 
> 
> Well, if Damian can point out specific behavioural deficiencies in
> code blocks and qr constant overloading, I'm happy to attempt to address
> them.
> 
> Note however that R::G, as was implemented, specifically relied on a bug in
> the old perl implementation that allowed code blocks contained in strings
> (rather than in regexes) to be interpolated into regexes and be executed,
> without requiring a 'use re eval' in scope.

But this was the only bug that it was relying on?

ie that the code should still be able to work if 'use re eval' is added to
the scopes in which it it is used?

(I stress the *should* in the above question)

Nicholas Clark

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