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

[perl #128225] substitution within (?{}) causes segmentation fault

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
May 25, 2016 22:55
Subject:
[perl #128225] substitution within (?{}) causes segmentation fault
Message ID:
rt-4.0.18-24678-1464216920-1487.128225-15-0@perl.org
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.  The empty pattern re-uses the last successful match.

-- 

Father Chrysostomos


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

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