[perl #122891] [BUG] ^^ and $$ behave unlike ^ and $ when the string being matched is a single line ending in \r\n in Rakudo

2015-11-10 Thread jn...@jnthn.net via RT
On Fri Oct 03 03:11:45 2014, masak wrote: > m: say "a\n" ~~ /^^\s*$$/ > rakudo-moar d69a87: OUTPUT«Nil␤» > m: say "a\r\n" ~~ /^^\s*$$/ > rakudo-moar d69a87: OUTPUT«「」␤␤» > That's why Pod tables are bust on Windows. > jnthn: that looks clearly wrong to me. > \r\n are whitespace. > masak:

[perl #122891] [BUG] ^^ and $$ behave unlike ^ and $ when the string being matched is a single line ending in \r\n in Rakudo

2014-10-03 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #122891] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=122891 jnthn m: say a\n ~~ /^^\s*$$/ camelia rakudo-moar d69a87: OUTPUT«Nil␤» jnthn m: say