p4raw-id: //depot/perl@6057
FAIL("Missing right brace on \\x{}");
else if (UTF) {
numlen = 1; /* allow underscores */
- ender = (UV)scan_hex(p + 1, e - p, &numlen);
+ ender = (UV)scan_hex(p + 1, e - p - 1, &numlen);
/* numlen is generous */
if (numlen + len >= 127) {
p--;
}
}
-print "1..60\n";
+print "1..61\n";
my $test = 1;
$test++; # 60
}
+
+ ok "\x{ab}" =~ /^\x{ab}$/, 1;
+ $test++; # 61
}