1 /* $Header: search.h,v 1.0 87/12/18 13:06:06 root Exp $
4 * Revision 1.0 87/12/18 13:06:06 root
10 #define MAXSUB 10 /* how many sub-patterns are allowed */
11 #define MAXALT 10 /* how many alternatives are allowed */
14 char *precomp; /* the original pattern, for debug output */
15 char *compbuf; /* the compiled pattern */
16 int complen; /* length of compbuf */
17 char *alternatives[MAXALT]; /* list of alternatives */
18 char *subbeg[MAXSUB]; /* subpattern start list */
19 char *subend[MAXSUB]; /* subpattern end list */
20 char *subbase; /* saved match string after execute() */
21 char lastparen; /* which subpattern matched last */
22 char numsubs; /* how many subpatterns the compiler saw */
23 bool do_folding; /* fold upper and lower case? */
26 EXT int multiline INIT(0);