00001 /* 00002 * Definitions etc. for regexp(3) routines. 00003 * 00004 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof], 00005 * not the System V one. 00006 */ 00007 #define NSUBEXP 10 00008 typedef struct regexp { 00009 unsigned char *startp[NSUBEXP]; 00010 unsigned char *endp[NSUBEXP]; 00011 unsigned char regstart; /* Internal use only. */ 00012 unsigned char reganch; /* Internal use only. */ 00013 unsigned char *regmust; /* Internal use only. */ 00014 unsigned char regmlen; /* Internal use only. */ 00015 unsigned char program[1]; /* Unwarranted chumminess with 00016 * compiler. */ 00017 } regexp;
1.5.8