This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
TODO tests for reads from a scalar changed to upgraded after open
[perl5.git] / t / re / reg_posixcc.t
index d37411b..29364bc 100644 (file)
@@ -17,6 +17,10 @@ my @pats=(
            "\\S",
            "\\d",
            "\\D",
+            "\\h",
+           "\\H",
+            "\\v",
+           "\\V",
            "[:alnum:]",
            "[:^alnum:]",
            "[:alpha:]",
@@ -98,7 +102,7 @@ while (@pats) {
             $got{"[^$yes]"}{$type} = $str=~/[^$yes]/ ? 1 : 0;
             $got{"[^$no]"}{$type} = $str=~/[^$no]/ ? 1 : 0;
 
-            # For \w, \s, and \d, also test without being in character
+            # For \w, \s, and \d, \h, \v, also test without being in character
             # classes.
             next if $yes =~ /\[/;