1 /*_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
5 * Function:..Routine for TWEB *
9 * Authors:...Dr. Kurt Spanier & Bernhard Winkler, *
10 * Zentrum fuer Datenverarbeitung, Bereich Entwicklung *
11 * neuer Dienste, Universitaet Tuebingen, GERMANY *
14 * Creation date: Z D D V V *
15 * January 20 1998 Z D D V V *
16 * Last modification: Z D D V V *
17 * January 20 1998 ZZZZZ DDD V *
19 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/
21 * $Id: regular_exp.h,v 1.6 1999/09/10 15:01:19 zrnsk01 Exp $
30 * Definitions etc. for regexp(3) routines.
32 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
33 * not the System V one.
36 typedef struct regexp {
37 char *startp[NSUBEXP];
39 char regstart; /* Internal use only. */
40 char reganch; /* Internal use only. */
41 char *regmust; /* Internal use only. */
42 int regmlen; /* Internal use only. */
43 char program[1]; /* Unwarranted chumminess with compiler. */
46 extern regexp *tweb_regcomp();
47 extern int tweb_regexec();
48 extern void tweb_regsub();
49 extern void tweb_regerror();
51 * The first byte of the regexp internal "program" is actually this magic
52 * number; the start node begins in the second byte.
56 #endif /* _REGULAR_EXP_ */