develooper Front page | perl.perl5.porters | Postings from February 2020

Re: Backporting ac3afc4b35 (regcomp.c: make \K+ and \K* illegal.)

Thread Previous | Thread Next
From:
demerphq
Date:
February 11, 2020 15:26
Subject:
Re: Backporting ac3afc4b35 (regcomp.c: make \K+ and \K* illegal.)
Message ID:
CANgJU+UbNxvuGBGP6K3WtZfDTr_Ss00kL+zWkkXfuO-TaTp2Xg@mail.gmail.com
FWIW I just finished a long flight and am reacclimatising to a big time
difference. Once my head clears I'll get back to this thread. Just wanted
to say I'm not avoiding the discussion or anything.

Yves

On Tue, 11 Feb 2020, 16:22 Karl Williamson, <public@khwilliamson.com> wrote:

> On 2/11/20 5:01 AM, hv@crypt.org wrote:
> > On the other hand, I think the proposed change would break eg:
> >    qr{ (?= foo (??{ bar() }) baz )+ }x
> > .. which I think is an argument against rushing anything out for the more
> > general case - IIRC we already have bugs backtracking over lookaheads
> > with backreferences, probably due to similar thinking.
>
> Good point
>

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