# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #73940]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73940 >


<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 [].

Reply via email to