Ulrich Drepper
c06a6956a4
[BZ #544 ]
...
Update.
2004-11-18 Jakub Jelinek <jakub@redhat.com>
[BZ #544 ]
* posix/regex.h (RE_NO_SUB): New define.
* posix/regex_internal.h (OP_DELETED_SUBEXP): New.
(re_dfa_t): Add subexp_map.
* posix/regcomp.c (struct subexp_optimize): New type.
(optimize_subexps): New routine.
(re_compile_internal): Call it.
(re_compile_pattern): Set preg->no_sub to 1 if RE_NO_SUB.
(free_dfa_content): Free subexp_map.
(calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP
nodes.
* posix/regexec.c (re_search_internal): If subexp_map
is not NULL, duplicate registers as needed.
* posix/Makefile: Add rules to build and run tst-regex2.
* posix/tst-regex2.c: New test.
* posix/rxspencer/tests: Fix last two tests (\0 -> \1).
Add some new tests for nested subexpressions.
2004-11-18 23:57:34 +00:00
..
2004-02-10 21:57:59 +00:00
2004-06-06 06:06:02 +00:00
2004-06-06 06:01:50 +00:00
2002-03-12 20:04:56 +00:00
2003-06-11 23:22:36 +00:00
1996-05-14 20:30:25 +00:00
2004-03-19 00:37:59 +00:00
1999-07-17 23:56:47 +00:00
1995-10-17 00:41:39 +00:00
1997-05-26 23:01:17 +00:00
1997-05-07 14:34:37 +00:00
1997-05-07 14:34:37 +00:00
1998-07-04 10:39:13 +00:00
1997-05-26 23:01:17 +00:00
1995-10-17 00:41:39 +00:00
1997-01-24 02:23:54 +00:00
1996-10-08 23:39:20 +00:00
1996-10-08 23:39:20 +00:00
1997-02-19 04:43:53 +00:00
1996-10-08 23:39:20 +00:00
1998-06-15 14:55:03 +00:00
2000-07-29 06:45:51 +00:00
2003-01-28 07:32:19 +00:00
2003-01-30 20:26:38 +00:00
2000-07-29 06:45:51 +00:00
2004-03-19 00:37:59 +00:00
2001-07-06 04:58:11 +00:00
2004-03-19 00:37:59 +00:00
2001-07-06 04:58:11 +00:00
2004-03-19 00:37:59 +00:00
2004-03-19 00:37:59 +00:00
2002-03-12 20:04:56 +00:00
2002-03-12 20:04:56 +00:00
2002-03-13 02:17:12 +00:00
2004-08-10 18:01:40 +00:00
2004-03-19 00:37:59 +00:00
2004-03-24 22:05:34 +00:00
2004-08-04 21:58:10 +00:00
2003-06-11 23:22:36 +00:00
2004-06-29 17:28:24 +00:00
2003-06-11 23:22:36 +00:00
2004-03-19 00:37:59 +00:00
2004-03-19 00:37:59 +00:00
2001-07-23 23:45:03 +00:00
2004-06-15 20:04:37 +00:00
2004-03-19 00:37:59 +00:00
2004-09-14 04:41:35 +00:00
1997-01-23 04:24:20 +00:00
1996-10-08 23:39:20 +00:00
1997-01-23 04:24:20 +00:00
2000-06-21 12:39:22 +00:00
2000-06-21 12:39:22 +00:00
1998-11-13 19:03:53 +00:00
1996-10-08 23:39:20 +00:00
2000-12-15 16:03:57 +00:00
1997-01-23 04:24:20 +00:00
2001-11-27 08:33:32 +00:00
2000-07-22 07:26:13 +00:00
1999-02-07 00:06:12 +00:00
2004-03-19 00:37:59 +00:00
2004-03-19 00:37:59 +00:00
2004-03-19 00:37:59 +00:00
2004-03-19 00:37:59 +00:00
2003-09-12 22:37:19 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2000-12-31 10:52:32 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
1996-10-08 23:39:20 +00:00
2001-07-06 04:58:11 +00:00
2003-08-19 20:24:45 +00:00
2002-03-11 21:46:37 +00:00
2000-06-17 19:22:43 +00:00
1999-02-14 20:03:55 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2000-03-23 20:42:34 +00:00
2002-12-17 10:34:02 +00:00
1997-04-08 23:42:08 +00:00
1997-04-08 23:42:08 +00:00
2001-07-06 04:58:11 +00:00
2004-08-04 21:58:10 +00:00
2003-06-25 11:14:37 +00:00
2002-08-26 11:39:12 +00:00
2001-07-06 04:58:11 +00:00
2001-02-15 19:57:43 +00:00
2000-03-27 18:36:21 +00:00
2001-08-16 05:23:52 +00:00
2004-08-11 18:54:46 +00:00
2002-03-15 22:08:18 +00:00
2002-03-15 22:08:18 +00:00
2000-06-21 12:39:22 +00:00
2002-10-12 18:45:26 +00:00
2003-06-25 11:04:58 +00:00
2004-04-20 18:58:56 +00:00
2002-08-27 06:41:29 +00:00
2001-07-06 04:58:11 +00:00
2000-07-03 21:40:46 +00:00
2001-07-06 04:58:11 +00:00
2002-12-19 09:18:01 +00:00
2004-08-10 18:01:40 +00:00
2003-07-31 19:26:38 +00:00
2000-12-15 16:03:57 +00:00
2004-03-19 00:37:59 +00:00
1995-10-17 00:41:39 +00:00
2001-08-07 04:37:18 +00:00
1995-10-17 00:41:39 +00:00
2004-05-03 21:40:12 +00:00
2004-11-18 23:57:34 +00:00
2004-10-11 22:28:15 +00:00
1999-06-16 22:55:47 +00:00
2000-06-29 04:12:28 +00:00
2001-07-06 04:58:11 +00:00
1998-01-21 17:04:36 +00:00