X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=regexp.h;h=39620dae1f40d08c83050cc62caa3ec5ea14c5dd;hb=00bf170e31343ccc4fac7a63f6a3acf5e76c3616;hp=286b0e128b40b27ed22dca5696ee03bd1cdeb2a8;hpb=378cc40b38293ffc7298c6a7ed3cd740ad79be52;p=p5sagit%2Fp5-mst-13.2.git diff --git a/regexp.h b/regexp.h index 286b0e1..39620da 100644 --- a/regexp.h +++ b/regexp.h @@ -5,16 +5,17 @@ * not the System V one. */ -/* $Header: regexp.h,v 2.0 88/06/05 00:10:53 root Exp $ +/* $Header: regexp.h,v 3.0.1.1 90/08/09 05:12:55 lwall Locked $ * * $Log: regexp.h,v $ - * Revision 2.0 88/06/05 00:10:53 root - * Baseline version 2.0. + * Revision 3.0.1.1 90/08/09 05:12:55 lwall + * patch19: $' broke on embedded nulls + * + * Revision 3.0 89/10/18 15:22:46 lwall + * 3.0 baseline * */ -#define ALIGN - #define NSUBEXP 10 typedef struct regexp { @@ -26,6 +27,7 @@ typedef struct regexp { int regback; /* Can regmust locate first try? */ char *precomp; /* pre-compilation regular expression */ char *subbase; /* saved string so \digit works forever */ + char *subend; /* end of subbase */ char reganch; /* Internal use only. */ char do_folding; /* do case-insensitive match? */ char lastparen; /* last paren matched */ @@ -33,7 +35,5 @@ typedef struct regexp { char program[1]; /* Unwarranted chumminess with compiler. */ } regexp; -extern regexp *regcomp(); -extern int regexec(); -extern void regsub(); -extern void regerror(); +regexp *regcomp(); +int regexec();