* Copyright (c) 1992 Henry Spencer.
* Copyright (c) 1992 The Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* Henry Spencer of the University of Toronto.
* %sccs.include.redist.c%
* @(#)regex.h 5.2 (Berkeley) %G%
size_t re_nsub
; /* number of parenthesized subexpressions */
struct re_guts
*re_g
; /* none of your business :-) */
regoff_t rm_so
; /* start of match */
regoff_t rm_eo
; /* end of match */
#define REG_STARTEND 00004
#define REG_TRACE 00400 /* debugging tracing */
#define REG_LARGE 01000 /* force large state model for debug */
#define REG_EMPTY (14) /* empty component */
#define REG_ASSERT (15) /* assertion failure */
int regcomp
__P((regex_t
*, const char *, int));
size_t regerror
__P((int, const regex_t
*, char *, size_t));
int regexec
__P((const regex_t
*,
const char *, size_t, regmatch_t
[], int));
void regfree
__P((regex_t
*));