p4raw-id: //depot/perl@17994
need a newline */
mg->mg_len++; /* save space for it */
need_newline = 1; /* note to add it */
+ break;
}
}
}
$| = 1;
-print "1..940\n";
+print "1..941\n";
BEGIN {
chdir 't' if -d 't';
"ok $test - postponed interpolation of qr// preserves utf8\n");
++$test;
+print((length(qr/##/x) == 12 ? '' : 'not '),
+ "ok $test - ## in qr// doesn't corrupt memory [perl #17776]\n");
+++$test;
+
{ use re 'eval';
print(("$x$x" =~ /^$x(??{$x})\z/ ? '' : 'not '),