Commit graph

4 commits

Author SHA1 Message Date
Russ Cox
6d08a0f548 libregexp: revert regexp fix 2007-12-07 17:33:41 -05:00
Russ Cox
a7511dd43d libregexp: fix ambiguous match selection
echo SYSSYSR1 | sed 's/SYS.+/sysr1/'

was producing SYSsysr1 instead of sysr1.
Bug was introduced during overflow cleanup earlier this year.

Also bring regexec.c and rregexec.c into sync again.
Also allocate large enough lists in the regexec2/rregexec2 case.
2007-12-07 15:32:45 -05:00
rsc
62390091b7 Update libregexp with recent bug fixes from Plan 9. 2004-03-05 05:13:56 +00:00
rsc
b2cfc4e2e7 Initial revision 2003-09-30 17:47:41 +00:00