REGEXP.H(7) Miscellaneous Information Manual REGEXP.H(7)
NAME
regexp.h —
regular-expression declarations (LEGACY)
SYNOPSIS
#include <regexp.h>
DESCRIPTION
In the <regexp.h> header, each of
the following is declared as a function, or defined as a macro, or both:
int advance(const char *string, const char *expbuf);
char *compile(char *instring, char *expbuf, const char *endbuf,
int eof);
int step(const char *string, const char *expbuf);
and the following are declared as external variables:
extern char *loc1; extern char *loc2; extern char
*locs;
APPLICATION USAGE
This header is kept for historical reasons. New applications should use the regcomp(3) , regexec(3) , regerror(3) and regfree(3) functions, and the <regex.h> header, which provide full internationalised regular expression functionality compatible with the ISO POSIX-2 standard and the XBD specification, Regular Expressions .
FUTURE DIRECTIONS
None.
SEE ALSO
February 1997 posix.fail