Public Member Functions | |
| void | clone (Regex &) |
| int | compile (string const &str, int flags) |
| int | compile (const char *pattern, int flags) |
| int | exec (string const &str, size_t nmatch, regmatch_t matchptr[], int eflags) |
| int | exec (const char *string, size_t nmatch, regmatch_t matchptr[], int eflags) |
| void | free () |
| int | isCompiled () |
| Regex (string const &pattern, int flags) | |
| Regex (const char *pattern, int flags) | |
| Regex (Regex &) | |
| Regex () | |
| ~Regex () | |
Private Attributes | |
| int | compiled |
| regex_t | compiledRegex |
| int | flags |
| regmatch_t | match |
| string | pattern |
|
|
Constructor for the class. |
|
|
Construct by copy. |
|
||||||||||||
|
Constructor for the class. |
|
|
Destructor for the class |
|
||||||||||||
|
|
|
|
Create a clone. |
|
||||||||||||
|
|
|
||||||||||||
|
Compile the regex pattern. |
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
Match the pattern against strings. |
|
|
Free the used memory. |
|
|
Return a nonzero value if the regex was compiled. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1