5 |
/* This is the public header file for the PCRE library, to be #included by |
/* This is the public header file for the PCRE library, to be #included by |
6 |
applications that call the PCRE functions. |
applications that call the PCRE functions. |
7 |
|
|
8 |
Copyright (c) 1997-2010 University of Cambridge |
Copyright (c) 1997-2011 University of Cambridge |
9 |
|
|
10 |
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
11 |
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
96 |
#endif |
#endif |
97 |
|
|
98 |
/* Options. Some are compile-time only, some are run-time only, and some are |
/* Options. Some are compile-time only, some are run-time only, and some are |
99 |
both, so we keep them all distinct. However, almost all the bits in the options |
both, so we keep them all distinct. However, almost all the bits in the options |
100 |
word are now used. In the long run, we may have to re-use some of the |
word are now used. In the long run, we may have to re-use some of the |
101 |
compile-time only bits for runtime options, or vice versa. */ |
compile-time only bits for runtime options, or vice versa. */ |
102 |
|
|
129 |
#define PCRE_BSR_ANYCRLF 0x00800000 /* Compile, exec, DFA exec */ |
#define PCRE_BSR_ANYCRLF 0x00800000 /* Compile, exec, DFA exec */ |
130 |
#define PCRE_BSR_UNICODE 0x01000000 /* Compile, exec, DFA exec */ |
#define PCRE_BSR_UNICODE 0x01000000 /* Compile, exec, DFA exec */ |
131 |
#define PCRE_JAVASCRIPT_COMPAT 0x02000000 /* Compile */ |
#define PCRE_JAVASCRIPT_COMPAT 0x02000000 /* Compile */ |
132 |
#define PCRE_NO_START_OPTIMIZE 0x04000000 /* Exec, DFA exec */ |
#define PCRE_NO_START_OPTIMIZE 0x04000000 /* Compile, exec, DFA exec */ |
133 |
#define PCRE_NO_START_OPTIMISE 0x04000000 /* Synonym */ |
#define PCRE_NO_START_OPTIMISE 0x04000000 /* Synonym */ |
134 |
#define PCRE_PARTIAL_HARD 0x08000000 /* Exec, DFA exec */ |
#define PCRE_PARTIAL_HARD 0x08000000 /* Exec, DFA exec */ |
135 |
#define PCRE_NOTEMPTY_ATSTART 0x10000000 /* Exec, DFA exec */ |
#define PCRE_NOTEMPTY_ATSTART 0x10000000 /* Exec, DFA exec */ |
163 |
#define PCRE_ERROR_BADNEWLINE (-23) |
#define PCRE_ERROR_BADNEWLINE (-23) |
164 |
#define PCRE_ERROR_BADOFFSET (-24) |
#define PCRE_ERROR_BADOFFSET (-24) |
165 |
#define PCRE_ERROR_SHORTUTF8 (-25) |
#define PCRE_ERROR_SHORTUTF8 (-25) |
166 |
|
#define PCRE_ERROR_RECURSELOOP (-26) |
167 |
|
|
168 |
|
/* Specific error codes for UTF-8 validity checks */ |
169 |
|
|
170 |
|
#define PCRE_UTF8_ERR0 0 |
171 |
|
#define PCRE_UTF8_ERR1 1 |
172 |
|
#define PCRE_UTF8_ERR2 2 |
173 |
|
#define PCRE_UTF8_ERR3 3 |
174 |
|
#define PCRE_UTF8_ERR4 4 |
175 |
|
#define PCRE_UTF8_ERR5 5 |
176 |
|
#define PCRE_UTF8_ERR6 6 |
177 |
|
#define PCRE_UTF8_ERR7 7 |
178 |
|
#define PCRE_UTF8_ERR8 8 |
179 |
|
#define PCRE_UTF8_ERR9 9 |
180 |
|
#define PCRE_UTF8_ERR10 10 |
181 |
|
#define PCRE_UTF8_ERR11 11 |
182 |
|
#define PCRE_UTF8_ERR12 12 |
183 |
|
#define PCRE_UTF8_ERR13 13 |
184 |
|
#define PCRE_UTF8_ERR14 14 |
185 |
|
#define PCRE_UTF8_ERR15 15 |
186 |
|
#define PCRE_UTF8_ERR16 16 |
187 |
|
#define PCRE_UTF8_ERR17 17 |
188 |
|
#define PCRE_UTF8_ERR18 18 |
189 |
|
#define PCRE_UTF8_ERR19 19 |
190 |
|
#define PCRE_UTF8_ERR20 20 |
191 |
|
#define PCRE_UTF8_ERR21 21 |
192 |
|
|
193 |
/* Request types for pcre_fullinfo() */ |
/* Request types for pcre_fullinfo() */ |
194 |
|
|