MISR Toolkit
1.5.1
|
Go to the source code of this file.
Data Structures | |
struct | regex_t |
struct | regmatch_t |
struct | regaparams_t |
struct | regamatch_t |
struct | tre_str_source |
Macros | |
#define | REG_EXTENDED 1 |
#define | REG_ICASE (REG_EXTENDED << 1) |
#define | REG_NEWLINE (REG_ICASE << 1) |
#define | REG_NOSUB (REG_NEWLINE << 1) |
#define | REG_BASIC 0 |
#define | REG_LITERAL (REG_NOSUB << 1) |
#define | REG_RIGHT_ASSOC (REG_LITERAL << 1) |
#define | REG_UNGREEDY (REG_RIGHT_ASSOC << 1) |
#define | REG_USEBYTES (REG_UNGREEDY << 1) |
#define | REG_NOTBOL 1 |
#define | REG_NOTEOL (REG_NOTBOL << 1) |
#define | REG_APPROX_MATCHER (REG_NOTEOL << 1) |
#define | REG_BACKTRACKING_MATCHER (REG_APPROX_MATCHER << 1) |
#define | REG_NOSPEC REG_LITERAL |
#define | RE_DUP_MAX 255 |
Typedefs | |
typedef int | regoff_t |
typedef wchar_t | tre_char_t |
Enumerations | |
enum | reg_errcode_t { REG_OK = 0, REG_NOMATCH, REG_BADPAT, REG_ECOLLATE, REG_ECTYPE, REG_EESCAPE, REG_ESUBREG, REG_EBRACK, REG_EPAREN, REG_EBRACE, REG_BADBR, REG_ERANGE, REG_ESPACE, REG_BADRPT, REG_OK = 0, REG_NOMATCH, REG_BADPAT, REG_ECOLLATE, REG_ECTYPE, REG_EESCAPE, REG_ESUBREG, REG_EBRACK, REG_EPAREN, REG_EBRACE, REG_BADBR, REG_ERANGE, REG_ESPACE, REG_BADRPT } |
enum | { TRE_CONFIG_APPROX, TRE_CONFIG_WCHAR, TRE_CONFIG_MULTIBYTE, TRE_CONFIG_SYSTEM_ABI, TRE_CONFIG_VERSION } |
Functions | |
int | tre_regcomp (regex_t *preg, const char *regex, int cflags) |
int | tre_regexec (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) |
int | tre_regexecb (const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags) |
size_t | tre_regerror (int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) |
void | tre_regfree (regex_t *preg) |
int | tre_regwcomp (regex_t *preg, const wchar_t *regex, int cflags) |
int | tre_regwexec (const regex_t *preg, const wchar_t *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_regnexec (const regex_t *preg, const char *string, size_t len, size_t nmatch, regmatch_t pmatch[], int eflags) |
int | tre_regncompb (regex_t *preg, const char *regex, size_t n, int cflags) |
int | tre_regnexecb (const regex_t *preg, const char *str, size_t len, 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_regaexec (const regex_t *preg, const char *string, regamatch_t *match, regaparams_t params, int eflags) |
int | tre_reganexec (const regex_t *preg, const char *string, size_t len, regamatch_t *match, regaparams_t params, int eflags) |
int | tre_regaexecb (const regex_t *preg, const char *string, regamatch_t *match, regaparams_t params, int eflags) |
int | tre_regawexec (const regex_t *preg, const wchar_t *string, regamatch_t *match, regaparams_t params, int eflags) |
int | tre_regawnexec (const regex_t *preg, const wchar_t *string, size_t len, regamatch_t *match, regaparams_t params, int eflags) |
void | tre_regaparams_default (regaparams_t *params) |
int | tre_reguexec (const regex_t *preg, const tre_str_source *string, size_t nmatch, regmatch_t pmatch[], int eflags) |
char * | tre_version (void) |
int | tre_config (int query, void *result) |
int | tre_have_backrefs (const regex_t *preg) |
int | tre_have_approx (const regex_t *preg) |
#define REG_APPROX_MATCHER (REG_NOTEOL << 1) |
#define REG_BACKTRACKING_MATCHER (REG_APPROX_MATCHER << 1) |
#define REG_ICASE (REG_EXTENDED << 1) |
#define REG_NOSPEC REG_LITERAL |
#define REG_NOSUB (REG_NEWLINE << 1) |
#define REG_NOTEOL (REG_NOTBOL << 1) |
#define REG_RIGHT_ASSOC (REG_LITERAL << 1) |
#define REG_UNGREEDY (REG_RIGHT_ASSOC << 1) |
#define REG_USEBYTES (REG_UNGREEDY << 1) |
typedef wchar_t tre_char_t |
anonymous enum |
enum reg_errcode_t |
int tre_config | ( | int | query, |
void * | result | ||
) |
int tre_regaexec | ( | const regex_t * | preg, |
const char * | string, | ||
regamatch_t * | match, | ||
regaparams_t | params, | ||
int | eflags | ||
) |
int tre_regaexecb | ( | const regex_t * | preg, |
const char * | string, | ||
regamatch_t * | match, | ||
regaparams_t | params, | ||
int | eflags | ||
) |
int tre_reganexec | ( | const regex_t * | preg, |
const char * | string, | ||
size_t | len, | ||
regamatch_t * | match, | ||
regaparams_t | params, | ||
int | eflags | ||
) |
void tre_regaparams_default | ( | regaparams_t * | params | ) |
int tre_regawexec | ( | const regex_t * | preg, |
const wchar_t * | string, | ||
regamatch_t * | match, | ||
regaparams_t | params, | ||
int | eflags | ||
) |
int tre_regawnexec | ( | const regex_t * | preg, |
const wchar_t * | string, | ||
size_t | len, | ||
regamatch_t * | match, | ||
regaparams_t | params, | ||
int | eflags | ||
) |
int tre_regexec | ( | const regex_t * | preg, |
const char * | string, | ||
size_t | nmatch, | ||
regmatch_t | pmatch[], | ||
int | eflags | ||
) |
int tre_regexecb | ( | const regex_t * | preg, |
const char * | string, | ||
size_t | nmatch, | ||
regmatch_t | pmatch[], | ||
int | eflags | ||
) |
void tre_regfree | ( | regex_t * | preg | ) |
int tre_regnexec | ( | const regex_t * | preg, |
const char * | string, | ||
size_t | len, | ||
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 | ||
) |
int tre_reguexec | ( | const regex_t * | preg, |
const tre_str_source * | string, | ||
size_t | nmatch, | ||
regmatch_t | pmatch[], | ||
int | eflags | ||
) |
int tre_regwexec | ( | const regex_t * | preg, |
const wchar_t * | string, | ||
size_t | nmatch, | ||
regmatch_t | pmatch[], | ||
int | eflags | ||
) |
int tre_regwnexec | ( | const regex_t * | preg, |
const wchar_t * | string, | ||
size_t | len, | ||
size_t | nmatch, | ||
regmatch_t | pmatch[], | ||
int | eflags | ||
) |
char* tre_version | ( | void | ) |