# New Ticket Created by Brent Laabs
# Please include the string: [perl #127071]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=127071 >
A regression sometime since September (the last Star release) broke
Lingua::Number (among other things, but this one isn't my fault :))
06:05 labster m: my $v = rx/foo/; say("foobar" ~~ $v); say("foobar"
~~ /foo/) #anyone know why these are different?
06:05 camelia rakudo-moar 16c5fc: OUTPUT«True「foo」»
06:06 skids /foo/ is like m/foo/
06:07 skids Though... hmm.
06:08 skids m: say("foobar" ~~ rx/foo/); say("foobar" ~~ /foo/)
06:08 camelia rakudo-moar 16c5fc: OUTPUT«「foo」「foo」»
06:09 skids m: my $v := rx/foo/; say("foobar" ~~ $v); say("foobar"
~~ /foo/)
06:09 camelia rakudo-moar 16c5fc: OUTPUT«True「foo」»
06:09 skids That is weird.
06:10 labster It's witchcraft.
06:10 skids We'll have to get a wizard ruling on that.
06:10 labster Anyone in here wearing a WIZZARD hat?
06:11 * sumdumgoi puts on robe and... nope, can't find wizard hat!
:P
06:12 skids m: my $v = rx/foo/; say("foobar" ~~ $v); $/.say;
say("foobar" ~~ /foo/); $/.say
06:12 camelia rakudo-moar 16c5fc: OUTPUT«True「foo」「foo」「foo」»
06:13 labster sumdumgoi: here, 🎩 will have to do
06:13 * sumdumgoi dons magician's hat 🎩
06:14 labster skids: this is what is currently breaking
Lingua::Number, but I have no idea when the regression happened because I
let my module bitrot a while.
06:14 skids star: m: my $v = rx/foo/; say("foobar" ~~ $v); $/.say;
say("foobar" ~~ /foo/); $/.say
06:14 camelia star-m 2015.09: OUTPUT«「foo」「foo」「foo」「foo」»
06:14 skids Well, since September
06:14 labster Ah, not *that* bad.