develooper Front page | perl.perl5.porters | Postings from August 2012

[perl #114040] Multiline constructs in regexp blocks

Thread Next
Father Chrysostomos via RT
August 22, 2012 16:10
[perl #114040] Multiline constructs in regexp blocks
Message ID:
On Sun Jul 08 14:18:36 2012, sprout wrote:
> These all fail to parse with bleadperl, but work in 5.16:

> # deer hocks
> /(?{ <<END
> })/;

Now fixed by 5097bf9b8 and db4442662555874019, except for this, which
has always crashed and still does:


This case, however, crashes now (as of the re-eval jumbo fix):


whereas it used to do this:

Can't find string terminator "
END" anywhere before EOF at (re_eval 1) line 1.
Compilation failed in regexp at - line 3.

or, before, 5.14:

panic: top_env

So we still have a regression here.


Father Chrysostomos

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About