#include <Regex.h>
Public Member Functions | |
| Regex (const char *pattern, int cflags=REG_EXTENDED, unsigned int=10) | |
| Regex (const string &pattern, int cflags=REG_EXTENDED, unsigned int=10) | |
| ~Regex () | |
| string | getPattern () const |
| int | getCflags () const |
| bool | match (const string &, int eflags=0) const |
| regoff_t | so (unsigned int) const |
| regoff_t | eo (unsigned int) const |
| string | cap (unsigned int) const |
Static Public Attributes | |
| static const string | ws = "[ \t]*" |
| static const string | number = "[0123456789]+" |
Private Attributes | |
| const string | pattern |
| const int | cflags |
| const unsigned int | nm |
| regex_t | rx |
| int | my_nl_msg_cat_cntr |
| regmatch_t * | rm |
| string | last_str |
| Regex::Regex | ( | const char * | pattern, | |
| int | cflags = REG_EXTENDED, |
|||
| unsigned int | nm = 10 | |||
| ) |
References _nl_msg_cat_cntr, my_nl_msg_cat_cntr, rm, and rx.
| storage::Regex::Regex | ( | const string & | pattern, | |
| int | cflags = REG_EXTENDED, |
|||
| unsigned | int = 10 | |||
| ) |
| string storage::Regex::getPattern | ( | ) | const [inline] |
| int storage::Regex::getCflags | ( | ) | const [inline] |
References cflags.
| bool storage::Regex::match | ( | const string & | , | |
| int | eflags = 0 | |||
| ) | const |
| regoff_t Regex::so | ( | unsigned int | i | ) | const |
References rm.
| regoff_t Regex::eo | ( | unsigned int | i | ) | const |
References rm.
| string Regex::cap | ( | unsigned int | i | ) | const |
const string Regex::ws = "[ \t]*" [static] |
Referenced by storage::Storage::initialize().
const string Regex::number = "[0123456789]+" [static] |
const string storage::Regex::pattern [private] |
const int storage::Regex::cflags [private] |
Referenced by getCflags().
const unsigned int storage::Regex::nm [private] |
regex_t storage::Regex::rx [mutable, private] |
int storage::Regex::my_nl_msg_cat_cntr [mutable, private] |
Referenced by Regex().
regmatch_t* storage::Regex::rm [mutable, private] |
string storage::Regex::last_str [mutable, private] |
Referenced by cap().
1.5.6