diff --git a/test/test_syntax.c b/test/test_syntax.c index 2ac38261..9b169773 100644 --- a/test/test_syntax.c +++ b/test/test_syntax.c @@ -341,6 +341,9 @@ extern int main(int argc, char* argv[]) test_prec_read(); test_look_behind(); test_char_class(); + + n("[[:digit:]]", "1"); + x2("[[:digit:]]", "g", 0, 1); x2("(?<=ab|(.))\\1", "abb", 2, 3); n("(?abc)", "abc", 0, 3); x2("(?Pabc)(?P=name)", "abcabc", 0, 6); x2("(?Pabc){0}(?P>name)", "abc", 0, 3);