On Wed Mar 31 15:45:50 2010, masak wrote:
> <masak> std: "abc" ~~ /()/
> <p6eval> std 30251: OUTPUT«===SORRY!===␀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

Reply via email to