/src/rt/release.sh: avoid requiring another MSys install
[msysgit.git] / include / regexp.h
blob4d7216fe96d26d2acddbe9a4de591b103b737a74
1 /* regexp.h
3 Copyright 1996, 2001 Red Hat, Inc.
5 This file is part of Cygwin.
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9 details. */
12 * Definitions etc. for regexp(3) routines.
14 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
15 * not the System V one.
17 * $Id: regexp.h,v 1.1 1997/10/07 21:54:10 noer Exp $
20 #define NSUBEXP 10
21 typedef struct regexp {
22 char *startp[NSUBEXP];
23 char *endp[NSUBEXP];
24 char regstart; /* Internal use only. */
25 char reganch; /* Internal use only. */
26 char *regmust; /* Internal use only. */
27 int regmlen; /* Internal use only. */
28 char program[1]; /* Unwarranted chumminess with compiler. */
29 } regexp;
31 extern regexp *regcomp();
32 extern int regexec();
33 extern void regsub();
34 extern void regerror();