The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 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(), regexec(), regerror() and regfree() 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

regexp(), <regex.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]