This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Couple more Unicode lookbehind tests.
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 12 Jan 2002 20:08:54 +0000 (20:08 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 12 Jan 2002 20:08:54 +0000 (20:08 +0000)
p4raw-id: //depot/perl@14223

t/op/pat.t

index edd34b7..8de9b82 100755 (executable)
@@ -6,7 +6,7 @@
 
 $| = 1;
 
-print "1..850\n";
+print "1..852\n";
 
 BEGIN {
     chdir 't' if -d 't';
@@ -2656,4 +2656,6 @@ print "# some Unicode properties\n";
 
     print "A\x{100}B"        =~ /(?<=A.)B/  ? "ok 849\n" : "not ok 849\n";
     print "A\x{200}\x{300}B" =~ /(?<=A..)B/ ? "ok 850\n" : "not ok 850\n";
+    print "\x{400}AB"        =~ /(?<=\x{400}.)B/ ? "ok 851\n" : "not ok 851\n";
+    print "\x{500\x{600}}B"  =~ /(?<=\x{500}.)B/ ? "ok 852\n" : "not ok 852\n";
 }