ARB
|
Go to the source code of this file.
Functions | |
GBS_regex * | GBS_compile_regexpr (const char *regexpr, GB_CASE case_flag, GB_ERROR *error) |
void | GBS_free_regexpr (GBS_regex *toFree) |
const char * | GBS_unwrap_regexpr (const char *regexpr_in_slashes, GB_CASE *case_flag, GB_ERROR *error) |
const char * | GBS_regmatch_compiled (const char *str, GBS_regex *comreg, size_t *matchlen) |
const char * | GBS_regmatch (const char *str, const char *regExpr, size_t *matchlen, GB_ERROR *error) |
char * | GBS_regreplace (const char *str, const char *regReplExpr, GB_ERROR *error) |
Definition at line 40 of file arb_match.cxx.
References GBS_regex::compiled, GB_IGNORE_CASE, give_buffer(), and NULp.
Referenced by GBS_compile_matcher(), GBS_regmatch(), and GBS_regreplace().
void GBS_free_regexpr | ( | GBS_regex * | toFree | ) |
Definition at line 62 of file arb_match.cxx.
References GBS_regex::compiled.
Referenced by GBS_free_matcher(), GBS_regmatch(), GBS_regreplace(), difflineMode::~difflineMode(), and RegExpr::~RegExpr().
const char* GBS_unwrap_regexpr | ( | const char * | regexpr_in_slashes, |
GB_CASE * | case_flag, | ||
GB_ERROR * | error | ||
) |
Definition at line 69 of file arb_match.cxx.
References arb_assert, GB_IGNORE_CASE, GB_MIND_CASE, GBS_global_string(), NULp, and result.
Referenced by GBS_compile_matcher(), GBS_regmatch(), and GBS_regreplace().
Definition at line 120 of file arb_match.cxx.
References GBS_regex::compiled, and NULp.
Referenced by GBS_regmatch(), and GBS_string_matches_regexp().
const char* GBS_regmatch | ( | const char * | str, |
const char * | regExpr, | ||
size_t * | matchlen, | ||
GB_ERROR * | error | ||
) |
Definition at line 138 of file arb_match.cxx.
References arb_assert, GBS_compile_regexpr(), GBS_free_regexpr(), GBS_regmatch_compiled(), GBS_unwrap_regexpr(), implicated, and NULp.
Referenced by GB_command_interpreter_in_env().
Definition at line 175 of file arb_match.cxx.
References arb_assert, ARB_strpartdup(), GBS_strstruct::cat(), GBS_regex::compiled, GBS_compile_regexpr(), GBS_free_regexpr(), GBS_global_string(), GBS_unwrap_regexpr(), GBS_strstruct::ncat(), NULp, GBS_strstruct::put(), GBS_strstruct::release(), result, and start.
Referenced by GB_command_interpreter_in_env(), GBT_tree_2_newick(), and insert_interruption_to_macro_cb().