summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regexec.c
Commit message (Collapse)AuthorAgeFilesLines
* Diff reduction against other *BSDs: ANSIfy functiondelphij2007-06-111-18/+11
| | | | prototypes. No function changes.
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Make regular expression matching aware of multibyte characters. The generaltjr2004-07-121-3/+64
| | | | | | | | | | | | | | | | | idea is that we perform multibyte->wide character conversion while parsing and compiling, then convert byte sequences to wide characters when they're needed for comparison and stepping through the string during execution. As with tr(1), the main complication is to efficiently represent sets of characters in bracket expressions. The old bitmap representation is replaced by a bitmap for the first 256 characters combined with a vector of individual wide characters, a vector of character ranges (for [A-Z] etc.), and a vector of character classes (for [[:alpha:]] etc.). One other point of interest is that although the Boyer-Moore algorithm had to be disabled in the general multibyte case, it is still enabled for UTF-8 because of its self-synchronizing nature. This greatly speeds up matching by reducing the number of multibyte conversions that need to be done.
* Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).nectar2003-02-161-1/+1
| | | | | | | Only warnings that could be fixed without changing the generated object code and without restructuring the source code have been handled. Reviewed by: /sbin/md5
* Add restrict type-qualifier.mike2002-10-021-3/+3
|
* Remove 'register' keyword.obrien2002-03-211-1/+3
|
* int -> long changes that reduce the diffs with the NetBSD version tojb1998-05-141-12/+12
| | | | work in a 64-bit environment.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+181
OpenPOWER on IntegriCloud