Two more tests that make no sense in UTF-8 since the test
Jarkko Hietaniemi [Fri, 1 Dec 2000 03:26:26 +0000 (03:26 +0000)]
data is not in UTF-8.

p4raw-id: //depot/perl@7939

t/op/regexp.t

index 239fa84..7fbfc97 100755 (executable)
@@ -74,7 +74,7 @@ while (<TESTS>) {
     $skip = ($skip_amp ? ($result =~ s/B//i) : ($result =~ s/B//));
     # Certain tests don't work with utf8 (the re_test should be in UTF8)
     $skip = 1, $reason = 'utf8'
-      if ($^H &= ~0x00000008) && $pat =~ /\[:\^(alnum|print|word):\]/;
+      if ($^H &= ~0x00000008) && $pat =~ /\[:\^(alnum|print|word|ascii|xdigit):\]/;
     $result =~ s/B//i unless $skip;
     for $study ('', 'study \$subject') {
        $c = $iters;