50 |
extern "C" { |
extern "C" { |
51 |
#endif |
#endif |
52 |
|
|
53 |
/* Options, mostly defined by POSIX, but with a couple of extras. */ |
/* Options, mostly defined by POSIX, but with some extras. */ |
54 |
|
|
55 |
#define REG_ICASE 0x0001 |
#define REG_ICASE 0x0001 /* Maps to PCRE_CASELESS */ |
56 |
#define REG_NEWLINE 0x0002 |
#define REG_NEWLINE 0x0002 /* Maps to PCRE_MULTILINE */ |
57 |
#define REG_NOTBOL 0x0004 |
#define REG_NOTBOL 0x0004 /* Maps to PCRE_NOTBOL */ |
58 |
#define REG_NOTEOL 0x0008 |
#define REG_NOTEOL 0x0008 /* Maps to PCRE_NOTEOL */ |
59 |
#define REG_DOTALL 0x0010 /* NOT defined by POSIX. */ |
#define REG_DOTALL 0x0010 /* NOT defined by POSIX; maps to PCRE_DOTALL */ |
60 |
#define REG_NOSUB 0x0020 |
#define REG_NOSUB 0x0020 /* Maps to PCRE_NO_AUTO_CAPTURE */ |
61 |
#define REG_UTF8 0x0040 /* NOT defined by POSIX. */ |
#define REG_UTF8 0x0040 /* NOT defined by POSIX; maps to PCRE_UTF8 */ |
62 |
#define REG_STARTEND 0x0080 /* BSD feature: pass subject string by so,eo */ |
#define REG_STARTEND 0x0080 /* BSD feature: pass subject string by so,eo */ |
63 |
#define REG_NOTEMPTY 0x0100 /* NOT defined by POSIX. */ |
#define REG_NOTEMPTY 0x0100 /* NOT defined by POSIX; maps to PCRE_NOTEMPTY */ |
64 |
|
#define REG_UNGREEDY 0x0200 /* NOT defined by POSIX; maps to PCRE_UNGREEDY */ |
65 |
|
|
66 |
/* This is not used by PCRE, but by defining it we make it easier |
/* This is not used by PCRE, but by defining it we make it easier |
67 |
to slot PCRE into existing programs that make POSIX calls. */ |
to slot PCRE into existing programs that make POSIX calls. */ |