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


<masak> rakudo: +("freeeeeeeeeeeeeeeew" ~~ /('e'|'w')*/)[0]
<p6eval> rakudo 9a84c3: OUTPUT«Use of uninitialized value␤»
<masak> <TimToady> that oughta work...
<masak> did someone report this?
<masak> rakudo: +("eeeeeeeeeeeeeeeew" ~~ /('e'|'w')*/)[0]
<p6eval> rakudo 9a84c3: RESULT«17»
* masak submits rakudobug

The first piece of code should evaluate to 17 as well, IMO. The regex
was later simplified to /(e)*/ with the same outcome.

Reply via email to