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

[perl #116639] regex optimiser wrongly rejects certain matches involving embedded comments

Thread Next
From:
Tony Cook via RT
Date:
July 10, 2013 06:43
Subject:
[perl #116639] regex optimiser wrongly rejects certain matches involving embedded comments
Message ID:
rt-3.6.HEAD-2552-1373438623-1707.116639-15-0@perl.org
On Thu Feb 07 22:11:16 2013, demerphq wrote:
> On 7 February 2013 00:58, Ricardo Signes <perl.p5p@rjbs.manxome.org>
wrote:
> > * demerphq <demerphq@gmail.com> [2013-02-06T03:54:55]
> >> On 6 February 2013 08:44,  <hv@crypt.org> wrote:
> >> > Allowing it with a warning only makes sense to me if we want to
be able
> >> > to define the effect in terms of something else, like '(?#comment) is
> >> > the same as (?=(?:|comment))'; but it isn't, and we don't. :)
> >>
> >> Thanks for the analysis, I agree. If I can figure it out at all I will
> >> make it die instead of warn.
> >
> > Agreed, too, thanks Hugo.
> 
> A patch to implement this has been pushed as:
> smoke-me/regex_comment_quantifier_fix

Did this change smoke cleanly for you?

I don't see anything at

http://perl.develop-help.com/?b=smoke-me%2Fregex_comment_quantifier_fix

that looks like it was caused by this patch.

This branch no longer rebases cleanly on blead.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=116639

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