Scopira
20080306
|
#include <regex.h>
Public Member Functions | |
regmatch (size_t sz) | |
ctor | |
bool | is_valid (size_t idx) const |
is this particular match valid? | |
size_t | begin (size_t idx) |
get the base of a match | |
size_t | end (size_t idx) |
get the end of the math | |
size_t | size (void) const |
gets the size | |
size_t | size_match (void) const |
gets the number of matches | |
std::string | substr (const std::string &base, size_t idx) |
convinience, get the substring | |
Friends | |
class | regex |
where the results of a match are stored