develooper Front page | perl.perl5.porters | Postings from May 2016

Re: [perl #128225] substitution within (?{}) causes segmentationfault

Thread Previous | Thread Next
From:
demerphq
Date:
May 26, 2016 00:25
Subject:
Re: [perl #128225] substitution within (?{}) causes segmentationfault
Message ID:
CANgJU+XGow1QAaGk1RWbJ3-3AGnk3C3Ky2t7WXffy97SBbM2LA@mail.gmail.com
On 26 May 2016 at 00:55, Father Chrysostomos via RT
<perlbug-followup@perl.org> wrote:
> On Wed May 25 15:42:20 2016, trizenx@gmail.com wrote:
>> Code simplified to:
>>
>> ### BEGIN-CODE ###
>>
>> m{
>>     (?{ print "hi\n" })
>> }x;
>>
>> //;//;//;//;//;
>>
>> ### END-CODE ###
>
> I don‘t see what the bug is here.

I dont get it either.

>  The empty pattern re-uses the last successful match.

I don't get why you bring this up either.

Yves
-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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