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 | __DLL_IMPORT__ __declspec(dllimport) |
#define | __DLL_EXPORT__ __declspec(dllexport) |
#define | LIBTRE_DLL_IMPEXP |
#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_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 unsigned char | 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 } |
#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) |
typedef unsigned char tre_char_t |
anonymous enum |
enum reg_errcode_t |
LIBTRE_DLL_IMPEXP int regaexec | ( | const regex_t * | preg, |
const char * | string, | ||
regamatch_t * | match, | ||
regaparams_t | params, | ||
int | eflags | ||
) |
LIBTRE_DLL_IMPEXP int reganexec | ( | const regex_t * | preg, |
const char * | string, | ||
size_t | len, | ||
regamatch_t * | match, | ||
regaparams_t | params, | ||
int | eflags | ||
) |
LIBTRE_DLL_IMPEXP void regaparams_default | ( | regaparams_t * | params | ) |
LIBTRE_DLL_IMPEXP int regcomp | ( | regex_t * | preg, |
const char * | regex, | ||
int | cflags | ||
) |
LIBTRE_DLL_IMPEXP size_t regerror | ( | int | errcode, |
const regex_t * | preg, | ||
char * | errbuf, | ||
size_t | errbuf_size | ||
) |
LIBTRE_DLL_IMPEXP int regexec | ( | const regex_t * | preg, |
const char * | string, | ||
size_t | nmatch, | ||
regmatch_t | pmatch[], | ||
int | eflags | ||
) |
LIBTRE_DLL_IMPEXP void regfree | ( | regex_t * | preg | ) |
LIBTRE_DLL_IMPEXP int regncomp | ( | regex_t * | preg, |
const char * | regex, | ||
size_t | len, | ||
int | cflags | ||
) |
LIBTRE_DLL_IMPEXP int regnexec | ( | const regex_t * | preg, |
const char * | string, | ||
size_t | len, | ||
size_t | nmatch, | ||
regmatch_t | pmatch[], | ||
int | eflags | ||
) |
LIBTRE_DLL_IMPEXP int reguexec | ( | const regex_t * | preg, |
const tre_str_source * | string, | ||
size_t | nmatch, | ||
regmatch_t | pmatch[], | ||
int | eflags | ||
) |
LIBTRE_DLL_IMPEXP int tre_config | ( | int | query, |
void * | result | ||
) |
LIBTRE_DLL_IMPEXP int tre_have_approx | ( | const regex_t * | preg | ) |
LIBTRE_DLL_IMPEXP int tre_have_backrefs | ( | const regex_t * | preg | ) |
LIBTRE_DLL_IMPEXP char* tre_version | ( | void | ) |