/a\m/: Unrecognized escape \m passed through at - line 4.
########
# regcomp.c [S_regpposixcc S_checkposixcc]
+BEGIN { $ENV{PERL_DESTRUCT_LEVEL} = 0 unless $ENV{PERL_DESTRUCT_LEVEL} > 3 }
use warnings 'regexp' ;
$_ = "" ;
/[:alpha:]/;
/[[:alpha:]]/;
/[[.foo.]]/;
/[[=bar=]]/;
-BEGIN { $ENV{PERL_DESTRUCT_LEVEL} = 0 unless $ENV{PERL_DESTRUCT_LEVEL} > 3 }
/[[:zog:]]/;
/[:zog:]/;
EXPECT
-Character class syntax [: :] belongs inside character classes at - line 4.
-Character class syntax [. .] belongs inside character classes at - line 5.
-Character class syntax [. .] is reserved for future extensions at - line 5.
-Character class syntax [= =] belongs inside character classes at - line 6.
-Character class syntax [= =] is reserved for future extensions at - line 6.
-Character class syntax [. .] is reserved for future extensions at - line 8.
-Character class syntax [= =] is reserved for future extensions at - line 9.
-Character class syntax [: :] belongs inside character classes at - line 10.
-Character class [:zog:] unknown at - line 11.
+Character class syntax [: :] belongs inside character classes at - line 5.
+Character class syntax [. .] belongs inside character classes at - line 6.
+Character class syntax [. .] is reserved for future extensions at - line 6.
+Character class syntax [= =] belongs inside character classes at - line 7.
+Character class syntax [= =] is reserved for future extensions at - line 7.
+Character class syntax [. .] is reserved for future extensions at - line 9.
+Character class syntax [= =] is reserved for future extensions at - line 10.
+Character class syntax [: :] belongs inside character classes at - line 11.
+Character class [:zog:] unknown at - line 12.
########
# regcomp.c [S_regclass]
$_ = "";