14 #ifdef HAVE_SYS_TYPES_H 15 #include <sys/types.h> 22 #ifdef TRE_USE_SYSTEM_REGEX_H 25 #include TRE_SYSTEM_REGEX_H_PATH 26 #define tre_regcomp regcomp 27 #define tre_regexec regexec 28 #define tre_regerror regerror 29 #define tre_regfree regfree 36 #ifdef TRE_USE_SYSTEM_REGEX_H 42 #ifndef HAVE_REG_ERRCODE_T 46 #if !defined(REG_NOSPEC) && !defined(REG_LITERAL) 47 #define REG_LITERAL 0x1000 54 #define REG_RIGHT_ASSOC (REG_LITERAL << 1) 55 #define REG_UNGREEDY (REG_RIGHT_ASSOC << 1) 58 #define REG_APPROX_MATCHER 0x1000 59 #define REG_BACKTRACKING_MATCHER (REG_APPROX_MATCHER << 1) 98 #define REG_EXTENDED 1 99 #define REG_ICASE (REG_EXTENDED << 1) 100 #define REG_NEWLINE (REG_ICASE << 1) 101 #define REG_NOSUB (REG_NEWLINE << 1) 105 #define REG_LITERAL (REG_NOSUB << 1) 106 #define REG_RIGHT_ASSOC (REG_LITERAL << 1) 107 #define REG_UNGREEDY (REG_RIGHT_ASSOC << 1) 109 #define REG_USEBYTES (REG_UNGREEDY << 1) 113 #define REG_NOTEOL (REG_NOTBOL << 1) 116 #define REG_APPROX_MATCHER (REG_NOTEOL << 1) 117 #define REG_BACKTRACKING_MATCHER (REG_APPROX_MATCHER << 1) 122 #if defined(REG_LITERAL) && !defined(REG_NOSPEC) 123 #define REG_NOSPEC REG_LITERAL 124 #elif defined(REG_NOSPEC) && !defined(REG_LITERAL) 125 #define REG_LITERAL REG_NOSPEC 130 #define RE_DUP_MAX 255 165 size_t nmatch,
regmatch_t pmatch[],
int eflags);
175 size_t nmatch,
regmatch_t pmatch[],
int eflags);
183 size_t nmatch,
regmatch_t pmatch[],
int eflags);
191 size_t nmatch,
regmatch_t pmatch[],
int eflags);
256 int (*get_next_char)(tre_char_t *c,
unsigned int *pos_add,
void *context);
257 void (*rewind)(
size_t pos,
void *context);
258 int (*compare)(
size_t pos1,
size_t pos2,
size_t len,
void *context);
264 size_t nmatch,
regmatch_t pmatch[],
int eflags);
int tre_regwncomp(regex_t *preg, const wchar_t *regex, size_t len, int cflags)
int tre_regwnexec(const regex_t *preg, const wchar_t *string, size_t len, size_t nmatch, regmatch_t pmatch[], int eflags)
int tre_regexec(const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags)
int tre_regncomp(regex_t *preg, const char *regex, size_t len, int cflags)
int tre_regaexecb(const regex_t *preg, const char *string, regamatch_t *match, regaparams_t params, int eflags)
int tre_regwexec(const regex_t *preg, const wchar_t *string, size_t nmatch, regmatch_t pmatch[], int eflags)
void tre_regaparams_default(regaparams_t *params)
int tre_have_backrefs(const regex_t *preg)
void tre_regfree(regex_t *preg)
int tre_regawexec(const regex_t *preg, const wchar_t *string, regamatch_t *match, regaparams_t params, int eflags)
int tre_regncompb(regex_t *preg, const char *regex, size_t n, int cflags)
int tre_regnexec(const regex_t *preg, const char *string, size_t len, size_t nmatch, regmatch_t pmatch[], int eflags)
int tre_have_approx(const regex_t *preg)
int tre_regawnexec(const regex_t *preg, const wchar_t *string, size_t len, regamatch_t *match, regaparams_t params, int eflags)
HDFFCLIBAPI _fcd _fcd intf * n
int tre_regcomp(regex_t *preg, const char *regex, int cflags)
int tre_config(int query, void *result)
int tre_reguexec(const regex_t *preg, const tre_str_source *string, size_t nmatch, regmatch_t pmatch[], int eflags)
int tre_regnexecb(const regex_t *preg, const char *str, size_t len, size_t nmatch, regmatch_t pmatch[], int eflags)
size_t tre_regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size)
int tre_reganexec(const regex_t *preg, const char *string, size_t len, regamatch_t *match, regaparams_t params, int eflags)
int tre_regaexec(const regex_t *preg, const char *string, regamatch_t *match, regaparams_t params, int eflags)
int tre_regwcomp(regex_t *preg, const wchar_t *regex, int cflags)
int tre_regexecb(const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags)
int tre_regcompb(regex_t *preg, const char *regex, int cflags)