Commit
31f05a37 mistakenly included a line that is supposed to be in a
future commit. This reverts that until then; and adds a test for it, as
this was not caught by the test suite.
/* If this can match all upper Latin1 code points, have to add them
* as well */
- if (OP(node) == ANYOF_NON_UTF8_NON_ASCII_ALL) {
+ if (ANYOF_FLAGS(node) & ANYOF_NON_UTF8_NON_ASCII_ALL) {
_invlist_union(invlist, PL_UpperLatin1, &invlist);
}
require './test.pl';
}
-plan tests => 711; # Update this when adding/deleting tests.
+plan tests => 712; # Update this when adding/deleting tests.
run_tests() unless caller;
}
}
+ {
+ like "\x{AA}", qr/a?[\W_]/d, "\\W with /d synthetic start class works";
+ }
+
+
} # End of sub run_tests