mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2003-12-21 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (duplicate_node, duplicate_node_closure): Revert 2003-11-24 changes. * posix/regexec.c (group_nodes_into_DFAstates): For CHARACTER with NEXT_{,NOT}WORD_CONSTRAINT check word_char bit. * posix/bug-regex19.c (tests): Add new tests. * posix/regexec.c (check_dst_limits_calc_pos): Fix formatting. * posix/regcomp.c (parse_dup_op): Return NULL if dup_elem is NULL, after checking syntax. Optimize. (calc_first): Fix comment. * posix/bug-regex13.c (tests): Add new tests.
This commit is contained in:
@ -246,6 +246,9 @@ static struct test_s
|
||||
{ERE, "(\\<|[A].)[A~C]", "DACC", 0, 1},
|
||||
{ERE, "(\\<|[A].)[A~C]", "B!A=", 0, 2},
|
||||
{ERE, "(\\<|[A].)[A~C]", "B~C", 0, 2},
|
||||
{ERE, "^[^A]*\\bB", "==B", 0, 0},
|
||||
{ERE, "^[^A]*\\bB", "CBD!=B", 0, 0},
|
||||
{ERE, "[^A]*\\bB", "==B", 2, 2}
|
||||
};
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user