On Wed Mar 31 15:45:50 2010, masak wrote:
> <masak> std: "abc" ~~ /()/
> <p6eval> std 30251: OUTPUT«[31m===[0mSORRY![31m===[0mâ€Null pattern
> not allowed [...] FAILED 00:01 107mâ€Â»
> <masak> rakudo: "abc" ~~ /()/
> <p6eval> rakudo 872898: OUTPUT«Confused [...]
> * masak submits LTA rakudobug
> <masak> rakudo: "abc" ~~ /[]/
> <p6eval> rakudo 872898: OUTPUT«Confused [...]
>
> This all comes down to how nqp-rx parses regexes. It can do it
> slightly more informatively in the case of empty () and [].
Error message has changed:
22:00 < [Coke]> rakudo: "abc" ~~ /()/
22:00 <+p6eval> rakudo 29f5cf: OUTPUT«===SORRY!===â€Unrecognized regex
metacharacter (must be quoted to match literally) at line 1,
near "/"â€Â»
22:00 < [Coke]> rakudo: "abc" ~~ /[]/
22:00 <+p6eval> rakudo 29f5cf: OUTPUT«===SORRY!===â€Unrecognized regex
metacharacter (must be quoted to match literally) at line 1,
near "/"â€Â»
--
Will "Coke" Coleda