freebsd-dev/lib/libc/regex
Kyle Evans b37f6c9805 Add libregex, connect it to the build
libregex is a regex(3) implementation intended to feature GNU extensions and
any other non-POSIX compliant extensions that are deemed worthy.

These extensions are separated out into a separate library for the sake of
not cluttering up libc further with them as well as not deteriorating the
speed (or lack thereof) of the libc implementation.

libregex is implemented as a build of the libc implementation with LIBREGEX
defined to distinguish this from a libc build. The reasons for
implementation like this are two-fold:

1.) Maintenance- This reduces the overhead induced by adding yet another
regex implementation to base.

2.) Ease of use- Flipping on GNU extensions will be as simple as linking
against libregex, and POSIX-compliant compilations can be guaranteed with a
REG_POSIX cflag that should be ignored by libc/regex and disables extensions
in libregex. It is also easier to keep REG_POSIX sane and POSIX pure when
implemented in this fashion.

Tests are added for future functionality, but left disconnected for the time
being while other testing is done.

Reviewed by:	cem (previous version)
Differential Revision:	https://reviews.freebsd.org/D12934
2018-01-22 02:44:41 +00:00
..
grot Replace dot-dot relative pathing with SRCTOP-relative paths where possible 2017-01-20 03:23:24 +00:00
cname.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
COPYRIGHT
engine.c regex(3): Resolve issues with higher WARNS levels 2018-01-21 04:57:29 +00:00
Makefile.inc Add libregex, connect it to the build 2018-01-22 02:44:41 +00:00
re_format.7 Remove SVR4 (System V Release 4) binary compatibility support. 2017-02-28 05:14:42 +00:00
regcomp.c regex(3): Resolve issues with higher WARNS levels 2018-01-21 04:57:29 +00:00
regerror.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
regex2.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
regex.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
regexec.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
regfree.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
Symbol.map
utils.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
WHATSNEW