|| Linux Programmer's Manual
NAME re_comp, re_exec - BSD regex functions
char *re_comp(char *
int re_exec(char *
() is used to compile the null-terminated regular expression pointed to by
. The compiled pattern occupies a static area, the pattern buffer, which is overwritten by subsequent use of
is NULL, no operation is performed and the pattern buffer's contents are not altered.
() is used to assess whether the null-terminated string pointed to by
matches the previously compiled
() returns NULL on successful compilation of
otherwise it returns a pointer to an appropriate error message.
() returns 1 for a successful match, zero for failure.
Multithreading (see pthreads(7)) The
re_exec() functions are not thread-safe.
CONFORMING TO 4.3BSD.
NOTES These functions are obsolete; the functions documented in
regcomp(3) should be used instead.
regex(7), GNU regex manual
COLOPHON This page is part of release 3.53 of the Linux
man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.