Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Trim down libcompat by removing <regexp.h>. | ed | 2010-03-14 | 1 | -92/+0 |
| | | | | | | | | | | | | | | | Erwin ran an exp-run with libcompat and <regexp.h> removed. It turns out the regexp library is almost entirely unused. In fact, it looks like it is sometimes used by accident. Because these function names clash with libc's <regex.h>, some application use both <regex.h> and libcompat, which means they link against the wrong regex library. This commit removes the regexp library and reimplements re_comp() and re_exec() using <regex.h>. It seems the grammar of the regular expressions accepted by these functions is similar to POSIX EREs. After this commit, 1 low-profile port will be broken, but the maintainer already has a patch for it sitting in his mailbox. | ||||
* | K&R -> ANSI | delphij | 2009-06-23 | 1 | -6/+3 |
| | |||||
* | Remove California Regent's clause 3, per letter | imp | 2007-01-09 | 1 | -4/+3 |
| | |||||
* | add a couple of missing #include lines | phk | 1995-03-19 | 1 | -0/+1 |
| | |||||
* | Add sanity check for "no previous regular expression" state, | ache | 1994-09-14 | 1 | -1/+4 |
| | | | | bringed by 'more' | ||||
* | Fix bug with searching "" pattern, cause 'more' always shows | ache | 1994-09-14 | 1 | -1/+1 |
| | | | | next line on "/<Enter>" instead of searching next pattern | ||||
* | This is James da Silva at the University of Maryland at College Park's | rgrimes | 1994-05-27 | 1 | -0/+92 |
regex.c code as picked up from the net. |