#include <Regex.h>
Inheritance diagram for oasys::Regsub:
Definition at line 74 of file Regex.h.
Public Member Functions | |
Regsub (const char *regex, const char *sub_spec, int flags=0) | |
~Regsub () | |
int | subst (const char *str, std::string *result, int flags=0) |
Static Public Member Functions | |
static int | subst (const char *regex, const char *str, const char *sub_spec, std::string *result, int cflags=0, int rflags=0) |
Protected Attributes | |
std::string | sub_spec_ |
oasys::Regsub::Regsub | ( | const char * | regex, | |
const char * | sub_spec, | |||
int | flags = 0 | |||
) |
int oasys::Regsub::subst | ( | const char * | regex, | |
const char * | str, | |||
const char * | sub_spec, | |||
std::string * | result, | |||
int | cflags = 0 , |
|||
int | rflags = 0 | |||
) | [static] |
int oasys::Regsub::subst | ( | const char * | str, | |
std::string * | result, | |||
int | flags = 0 | |||
) |
Definition at line 109 of file Regex.cc.
References oasys::Regex::match(), oasys::Regex::matches_, oasys::Regex::num_matches(), and sub_spec_.
std::string oasys::Regsub::sub_spec_ [protected] |