Which was causing the test to fail (on VMS at least) with
"unexpected output at test 0".
no warnings 'utf8';
my $malformed_to_be = "\x{c0}\x{a0}"; # Overlong sequence
CORE::evalbytes "use charnames ':full'; use utf8; my \$x = \"\\N{abc$malformed_to_be}\"";
- like( $@, qr/Malformed UTF-8 character immediately after '\\N{abc' at .* within string/, 'Malformed UTF-8 input to \N{}');
+ like( $@, qr/Malformed UTF-8 character immediately after '\\N\{abc' at .* within string/, 'Malformed UTF-8 input to \N{}');
}