summaryrefslogtreecommitdiff
path: root/lib/libcompat/regexp/regexp.c
Commit message (Collapse)AuthorAgeFilesLines
* Trim down libcompat by removing <regexp.h>.Ed Schouten2010-03-141-1337/+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. Notes: svn path=/head/; revision=205146
* Remove 'register' keyword.David E. O'Brien2002-03-211-56/+60
| | | | Notes: svn path=/head/; revision=92913
* Speedup in case locale not usedAndrey A. Chernov1997-04-041-26/+16
| | | | Notes: svn path=/head/; revision=24640
* Replace collate_range_cmp call with its codeAndrey A. Chernov1996-10-311-1/+18
| | | | Notes: svn path=/head/; revision=19278
* Convert to newly aded collate compare functionAndrey A. Chernov1996-08-121-4/+5
| | | | Notes: svn path=/head/; revision=17553
* Use collate info for alpha character rangesAndrey A. Chernov1996-08-121-8/+13
| | | | | | | 8bit cleanup Notes: svn path=/head/; revision=17536
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-4/+4
| | | | Notes: svn path=/head/; revision=8870
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+1320
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573