]> Savannah Git Hosting - gnulib.git/commitdiff
regex-tests: remove incorrect comment
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 6 Jun 2021 08:00:00 +0000 (08:00 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 6 Jun 2021 08:00:00 +0000 (08:00 +0000)
* tests/test-regex.c (tests): Remove the comment saying that some tests
are not used.  That comment was copied along with tests from glibc
where some of these tests are commented out.

Fixes: 70b673eb7 ("regex: fix longstanding backref match bug")
tests/test-regex.c

index adccf2187d23d32e0ced71eeec9d6873c6e16f1d..3de6213ff8eac21c48b5079995a9902b8498b706 100644 (file)
@@ -110,7 +110,6 @@ static struct
     "level", REG_NOSUB | REG_EXTENDED, 0, { { -1, -1 } } },
   { "^(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.).?\\9\\8\\7\\6\\5\\4\\3\\2\\1$|^.?$",
     "abcdedcba", REG_EXTENDED, 1, { { 0, 9 } } },
-  /* XXX Not used since they fail so far.  */
   { "^(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.).?\\9\\8\\7\\6\\5\\4\\3\\2\\1$|^.?$",
     "ababababa", REG_EXTENDED, 1, { { 0, 9 } } },
   { "^(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?).?\\9\\8\\7\\6\\5\\4\\3\\2\\1$",