Description:
Regular expression matching.
This matches the current GNU C Library, so its interface differs from
the standalone GNU regex library which has long been decommissioned in
favor of the GNU C Library interface.

Files:
lib/regex.h
lib/regex.c
lib/regex_internal.c
lib/regex_internal.h
lib/regexec.c
lib/regcomp.c
m4/eealloc.m4
m4/regex.m4
m4/mbstate_t.m4

Depends-on:
c99
extensions
ssize_t
vararrays
attribute               [test $ac_use_included_regex = yes]
btowc                   [test $ac_use_included_regex = yes]
builtin-expect          [test $ac_use_included_regex = yes]
glibc-internal/dynarray [test $ac_use_included_regex = yes]
intprops                [test $ac_use_included_regex = yes]
iswctype                [test $ac_use_included_regex = yes]
langinfo                [test $ac_use_included_regex = yes]
libc-config             [test $ac_use_included_regex = yes]
lock                    [test $ac_use_included_regex = yes]
memcmp                  [test $ac_use_included_regex = yes]
memmove                 [test $ac_use_included_regex = yes]
mbrtowc                 [test $ac_use_included_regex = yes]
mbsinit                 [test $ac_use_included_regex = yes]
nl_langinfo             [test $ac_use_included_regex = yes]
stdbool                 [test $ac_use_included_regex = yes]
stdint                  [test $ac_use_included_regex = yes]
verify                  [test $ac_use_included_regex = yes]
wchar                   [test $ac_use_included_regex = yes]
wcrtomb                 [test $ac_use_included_regex = yes]
wctype-h                [test $ac_use_included_regex = yes]
wctype                  [test $ac_use_included_regex = yes]

configure.ac:
gl_REGEX
gl_CONDITIONAL([GL_COND_OBJ_REGEX], [test $ac_use_included_regex = yes])
AM_COND_IF([GL_COND_OBJ_REGEX], [
  gl_PREREQ_REGEX
])

Makefile.am:
if GL_COND_OBJ_REGEX
lib_SOURCES += regex.c
endif

Include:
<regex.h>

Link:
$(LIB_MBRTOWC)
$(LIBTHREAD)
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise

License:
LGPLv2+

Maintainer:
all
