# New Ticket Created by Zoffix Znet # Please include the string: [perl #131517] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=131517 >
https://irclog.perlgeek.de/perl6/2017-06-06#i_14692778 A more useful error in this case would be to say that quotes aren't special in meta chars; and the "escape it" message should probably mention "with backslash", so the user doesn't think they can use quotes to escape specialiness of the `-`: araraloren m: say "ABC/as" ~~ m/<-["/" "-" "."]>+/; camelia rakudo-moar e0f68e: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>Unsupported use of - as character range; in Perl 6 please use .. for range, for explicit - in character class, escape it or place it as the first or last thingat <tmp>:1------> 3say "ABC/as" ~~ m/<-…»