# New Ticket Created by  Paweł Pabian 
# Please include the string:  [perl #77406]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77406 >


STD allows duplicated regexp modifier everywhere 

[12:50] <bbkr> std: "a" ~~ m:i/:i A/
[12:50] <p6eval> std 32097: OUTPUT«ok 00:01 118m␤»

[12:50] <bbkr> std: "a" ~~ m:i:i/A/
[12:50] <p6eval> std 32097: OUTPUT«ok 00:01 118m␤»

[13:04] <bbkr> std: "a" ~~ m/:i:i A/
[13:04] <p6eval> std 32097: OUTPUT«ok 00:01 118m␤»

Rakudo works fine only in the first and third case

[12:32] <bbkr> rakudo: say "a" ~~ m:i/:i A/
[12:32] <p6eval> rakudo f8763b: OUTPUT«a␤»

[13:04] <bbkr> rakudo: say "a" ~~ m/:i:i A/
[13:04] <p6eval> rakudo f8763b: OUTPUT«a␤»

But fails in second

[12:32] <bbkr> rakudo: say "a" ~~ m:i:i/A/
[12:32] <p6eval> rakudo f8763b: OUTPUT«duplicate named argument in call␤  in 
main program body at line 22:/tmp/FjoThAtxNU␤»

Reply via email to