2 * Definitions etc. for regexp(3) routines.
4 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
5 * not the System V one.
8 /* $Header: regexp.h,v 4.0 91/03/20 01:39:23 lwall Locked $
11 * Revision 4.0 91/03/20 01:39:23 lwall
16 typedef struct regexp {
19 STR *regstart; /* Internal use only. */
21 STR *regmust; /* Internal use only. */
22 int regback; /* Can regmust locate first try? */
23 char *precomp; /* pre-compilation regular expression */
24 char *subbase; /* saved string so \digit works forever */
25 char *subend; /* end of subbase */
26 char reganch; /* Internal use only. */
27 char do_folding; /* do case-insensitive match? */
28 char lastparen; /* last paren matched */
29 char nparens; /* number of parentheses */
30 char program[1]; /* Unwarranted chumminess with compiler. */