| 3 |
*************************************************/ |
*************************************************/ |
| 4 |
|
|
| 5 |
|
|
| 6 |
#define PCRE_VERSION "1.03 18-Dec-1997" |
#define PCRE_VERSION "1.08 27-Mar-1998" |
| 7 |
|
|
| 8 |
|
|
| 9 |
/* This is a library of functions to support regular expressions whose syntax |
/* This is a library of functions to support regular expressions whose syntax |
| 12 |
|
|
| 13 |
Written by: Philip Hazel <ph10@cam.ac.uk> |
Written by: Philip Hazel <ph10@cam.ac.uk> |
| 14 |
|
|
| 15 |
Copyright (c) 1997 University of Cambridge |
Copyright (c) 1998 University of Cambridge |
| 16 |
|
|
| 17 |
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
| 18 |
Permission is granted to anyone to use this software for any purpose on any |
Permission is granted to anyone to use this software for any purpose on any |
| 57 |
Standard C system should have one. */ |
Standard C system should have one. */ |
| 58 |
|
|
| 59 |
#ifndef offsetof |
#ifndef offsetof |
| 60 |
#define offsetof(p_type,field) ((size_t)&(((p_type)0)->field)) |
#define offsetof(p_type,field) ((size_t)&(((p_type *)0)->field)) |
| 61 |
#endif |
#endif |
| 62 |
|
|
| 63 |
/* Private options flags start at the most significant end of the two bytes. |
/* Private options flags start at the most significant end of the two bytes. |
| 78 |
|
|
| 79 |
#define PUBLIC_OPTIONS \ |
#define PUBLIC_OPTIONS \ |
| 80 |
(PCRE_CASELESS|PCRE_EXTENDED|PCRE_ANCHORED|PCRE_MULTILINE| \ |
(PCRE_CASELESS|PCRE_EXTENDED|PCRE_ANCHORED|PCRE_MULTILINE| \ |
| 81 |
PCRE_DOTALL|PCRE_DOLLAR_ENDONLY|PCRE_EXTRA) |
PCRE_DOTALL|PCRE_DOLLAR_ENDONLY|PCRE_EXTRA|PCRE_UNGREEDY) |
| 82 |
|
|
| 83 |
#define PUBLIC_EXEC_OPTIONS \ |
#define PUBLIC_EXEC_OPTIONS \ |
| 84 |
(PCRE_CASELESS|PCRE_ANCHORED|PCRE_MULTILINE|PCRE_NOTBOL|PCRE_NOTEOL| \ |
(PCRE_CASELESS|PCRE_ANCHORED|PCRE_MULTILINE|PCRE_NOTBOL|PCRE_NOTEOL| \ |
| 181 |
OP_CRMINRANGE, |
OP_CRMINRANGE, |
| 182 |
|
|
| 183 |
OP_CLASS, /* Match a character class */ |
OP_CLASS, /* Match a character class */ |
| 184 |
|
OP_NEGCLASS, /* Match a character class, specified negatively */ |
| 185 |
OP_REF, /* Match a back reference */ |
OP_REF, /* Match a back reference */ |
| 186 |
|
|
| 187 |
OP_ALT, /* Start of alternation */ |
OP_ALT, /* Start of alternation */ |