889 |
#define PUBLIC_STUDY_OPTIONS \ |
#define PUBLIC_STUDY_OPTIONS \ |
890 |
PCRE_STUDY_JIT_COMPILE |
PCRE_STUDY_JIT_COMPILE |
891 |
|
|
892 |
/* Magic number to provide a small check against being handed junk. Also used |
/* Magic number to provide a small check against being handed junk. */ |
|
to detect whether a pattern was compiled on a host of different endianness. */ |
|
893 |
|
|
894 |
#define MAGIC_NUMBER 0x50435245UL /* 'PCRE' */ |
#define MAGIC_NUMBER 0x50435245UL /* 'PCRE' */ |
895 |
|
|
896 |
|
/* This variable is used to detect a loaded regular expression |
897 |
|
in different endianness. */ |
898 |
|
|
899 |
|
#define REVERSED_MAGIC_NUMBER 0x45524350UL /* 'ERCP' */ |
900 |
|
|
901 |
/* Negative values for the firstchar and reqchar variables */ |
/* Negative values for the firstchar and reqchar variables */ |
902 |
|
|
903 |
#define REQ_UNSET (-2) |
#define REQ_UNSET (-2) |
2268 |
extern BOOL PRIV(is_newline)(PCRE_PUCHAR, int, PCRE_PUCHAR, |
extern BOOL PRIV(is_newline)(PCRE_PUCHAR, int, PCRE_PUCHAR, |
2269 |
int *, BOOL); |
int *, BOOL); |
2270 |
extern int PRIV(ord2utf)(pcre_uint32, pcre_uchar *); |
extern int PRIV(ord2utf)(pcre_uint32, pcre_uchar *); |
|
extern real_pcre *PRIV(try_flipped)(const real_pcre *, real_pcre *, |
|
|
const pcre_study_data *, pcre_study_data *); |
|
2271 |
extern int PRIV(valid_utf)(PCRE_PUCHAR, int, int *); |
extern int PRIV(valid_utf)(PCRE_PUCHAR, int, int *); |
2272 |
extern BOOL PRIV(was_newline)(PCRE_PUCHAR, int, PCRE_PUCHAR, |
extern BOOL PRIV(was_newline)(PCRE_PUCHAR, int, PCRE_PUCHAR, |
2273 |
int *, BOOL); |
int *, BOOL); |