Message-Id: <
20030808193656.5109.1@llama.ni-s.u-net.com>
p4raw-id: //depot/perl@20566
c1 = *(U8*)m;
c2 = PL_fold_locale[c1];
do_exactf:
- e = HOP3c(strend, -(I32)ln, s);
+ /* The last byte to try is ln-1 characters before strend
+ * since the strend points one byte past the string. */
+ e = HOP3c(strend, (I32)1 - (I32)ln, s);
if (norun && e < s)
e = s; /* Due to minlen logic of intuit() */
$| = 1;
-print "1..1008\n";
+print "1..1009\n";
BEGIN {
chdir 't' if -d 't';
ok("123\x{100}" =~ /^.*1.*23\x{100}$/, 'uft8 + multiple floating substr');
+ok(" \x{101}" =~ qr/\x{100}/i,
+ "<20030808193656.5109.1@llama.ni-s.u-net.com>");
+
# last test 1008