[PATCH] Add one regex testcase
Jakub Jelinek
jakub@redhat.com
Fri Nov 8 14:24:00 GMT 2002
Hi!
This test was failing in CVS checkout from September, 3rd, seems to
be fixed now. It certainly doesn't hurt to make sure the bug won't
come up again...
2002-11-08 Jakub Jelinek <jakub@redhat.com>
* posix/bug-regex13.c (tests): Add new test.
--- libc/posix/bug-regex13.c.jj 2002-10-21 20:16:31.000000000 +0200
+++ libc/posix/bug-regex13.c 2002-11-08 23:34:08.000000000 +0100
@@ -33,6 +33,7 @@ static struct
} tests[] = {
{RE_BACKSLASH_ESCAPE_IN_LISTS, "[0\\-9]", "1", -1}, /* It should not match. */
{RE_BACKSLASH_ESCAPE_IN_LISTS, "[0\\-9]", "-", 0}, /* It should match. */
+ {RE_SYNTAX_POSIX_BASIC, "s1\n.*\ns3", "s1\ns2\ns3", 0}
};
int
Jakub
More information about the Libc-hacker
mailing list