#include <RegExp.H>
Public Member Functions | |
RegExp (const char *re, int cflags=(REG_EXTENDED|REG_ICASE|REG_NOSUB)) throw (RegExp::ParseError) | |
RegExp (const Text &re, int cflags=(REG_EXTENDED|REG_ICASE|REG_NOSUB)) throw (RegExp::ParseError) | |
~RegExp () | |
bool | match (const char *string, size_t nmatch=0, regmatch_t *pmatch=0, int eflags=0) |
bool | match (const Text &text, size_t nmatch=0, regmatch_t *pmatch=0, int eflags=0) |
bool | operator() (const char *string, size_t nmatch=0, regmatch_t *pmatch=0, int eflags=0) |
bool | operator() (const Text &text, size_t nmatch=0, regmatch_t *pmatch=0, int eflags=0) |
size_t | nsubs (void) |
Private Member Functions | |
RegExp (const RegExp &) | |
void | operator= (const RegExp &) |
void | constructor_inner (const char *re, int cflags) throw (RegExp::ParseError) |
Private Attributes | |
regex_t | parsed |
Classes | |
struct | ParseError |
|
Definition at line 49 of file RegExp.H. References constructor_inner(). |
|
Definition at line 59 of file RegExp.H. References Text::cchars(), and constructor_inner(). |
|
|
|
|
|
Referenced by RegExp(). |
|
Definition at line 84 of file RegExp.H. References Text::cchars(), and match(). |
|
Definition at line 71 of file RegExp.H. Referenced by main(), match(), and operator()(). |
|
Definition at line 105 of file RegExp.H. References parsed. |
|
Definition at line 98 of file RegExp.H. References Text::cchars(), and match(). |
|
Definition at line 91 of file RegExp.H. References match(). |
|
|
|
Definition at line 37 of file RegExp.H. Referenced by nsubs(). |