# New Ticket Created by Lloyd Fournier # Please include the string: [perl #130911] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=130911 >
my $i = 0; say "ooo" ~~ / "o" ** {1..$i} / #-> 「ooo」 It is impossible to match "one or more up to a maximum of zero" times. This should just fail to match. If you do a literal '1' without it does the right thing: perl6 - e 'say "ooo" ~~ / "o" ** 1..0 /' ===SORRY!=== Error while compiling -e Empty range LL