-
Notifications
You must be signed in to change notification settings - Fork 0
/
regexp.h
29 lines (20 loc) · 839 Bytes
/
regexp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/********************************************
regexp.h
copyright 1991,2014-2016 Michael D. Brennan
This is a source file for mawk, an implementation of
the AWK programming language.
Mawk is distributed without warranty under the terms of
the GNU General Public License, version 3, 2007.
If you import elements of this code into another product,
you agree to not name that product mawk.
********************************************/
#if defined(__MSVCRT__) && !defined(__USE_MINGW_ANSI_STDIO)
#define __USE_MINGW_ANSI_STDIO 1 /* So mingw uses its printf not msvcrt */
#endif
#include <stdio.h>
PTR REcompile(const char *, size_t) ;
int REtest (const char *, size_t, PTR) ;
char *REmatch(const char *, size_t, PTR, size_t*, Bool) ;
void REmprint(PTR , FILE*) ;
extern int REerrno ;
extern const char* const REerrlist[] ;