Still dies the same way. On 2015-04-25 06:34:23, barto...@gmx.de wrote: > This dies now with the same typed exception: > > $ perl6 -e 'my $rx = "+"; "" ~~ /<$rx>/; say "alive"' > ===SORRY!=== Error while compiling EVAL_0 > Quantifier quantifies nothing > at EVAL_0:1 > ------> anon regex { +⏏} > > But as masak pointed out, S05 says it should not die: > > On Sat Dec 20 13:10:32 2014, masak wrote: > > [...] > > S05 says "If the compilation of the string form fails, the error > > message is converted > > to a warning and the assertion fails." > > > > So, it shouldn't die, just fail the match. It definitely shouldn't > > loop forever and run out of memory.
[perl #123465] [BUG] /+/ is invalid as a literal regex, but causes an infinite loop when passed in as an indirect subrule call in Rakudo
Aleks-Daniel Jakimenko-Aleksejev via RT Mon, 13 Nov 2017 07:28:28 -0800