# New Ticket Created by Timo Paulssen
# Please include the string: [perl #120511]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=120511 >
17:50 < timotimo> nqp: say("\r\na" ~~ /<?[\w]>"\r\na"/);
17:50 <+camelia> nqp-moarvm: OUTPUT«Substring length (-6) cannot be
negativeStr»
17:50 <+camelia> ..nqp-jvm, nqp-parrot: OUTPUT«»
17:50 < timotimo> nqp: say("\r\na" ~~ /"\r\na"/);
17:50 <+camelia> nqp-moarvm, nqp-jvm, nqp-parrot: OUTPUT«
the implementation of CCLASS_NEWLINE doesn't have a condition for the addition
to pos if it matched a \r\n.
I'll fix this bug on a train ride today.