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


<TimToady> m: say (S/Once/Twice/ given "Once upon a time")
<camelia> rakudo-moar a87fb4: OUTPUT«Twice upon a time␤»
<TimToady> m: say (S/Once/Twice/ andthen S/a/two/ given "Once upon a time")
<camelia> rakudo-moar a87fb4: OUTPUT«atwo␤»

(Expected value here: "Twice upon two time".)

<TimToady> a rather peculiar bug
* masak submits rakudobug
<masak> m: $_ = "Once upon a time"; say (S/Once/Twice/ andthen S/a/two/)
<camelia> rakudo-moar a87fb4: OUTPUT«atwo␤»

(Expected value here: "Twice upon two time".)

<masak> m: $_ = "Once upon a time"; say ($_ ~= ", kthx" andthen S/a/two/)
<camelia> rakudo-moar a87fb4: OUTPUT«Once upon two time, kthx␤»

(This one is fine.)

<masak> ok, so both S/// are needed to trigger the bug
<masak> but not the given

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupperl6-compiler @
categoriesperl
postedApr 2, '16 at 6:21p
activeApr 2, '16 at 6:21p
posts1
users1
websiteperl6.org

1 user in discussion

Carl Mäsak: 1 post

People

Translate

site design / logo © 2019 Grokbase