REGEXP.H(7) Miscellaneous Information Manual REGEXP.H(7)

regexp.hregular-expression declarations (LEGACY)

#include <regexp.h>

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;

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, .

None.

regexp(3) , <regex.h> .

February 1997 posix.fail