# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #123465] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=123465 >
<masak> heh, I think I found a bug in the regex engine :) <masak> m: /+/; say "alive" <camelia> rakudo-moar fb9127: OUTPUT«===SORRY!=== Error while compiling /tmp/MtEpSUUPerQuantifier quantifies nothing [...] <masak> m: my $rx = "+"; "" ~~ /<$rx>/; say "alive" <camelia> rakudo-moar fb9127: OUTPUT«Memory allocation failed; could not allocate 929136640 bytes» * masak submits rakudobug <masak> my assumption here is the /+/ is still a syntax error, even if it happens through an injected regex. 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.