libzypp
15.28.6
|
Regular expression match result. More...
#include <Regex.h>
Public Member Functions | |
smatch () | |
std::string | operator[] (unsigned i) const |
unsigned | size () const |
std::string::size_type | begin (unsigned i) const |
Begin index of subexpression i in match_str (or std::string::npos) More... | |
std::string::size_type | end (unsigned i) const |
End index of subexpression i in match_str (or std::string::npos) More... | |
std::string::size_type | size (unsigned i) const |
Size of subexpression i (or std::string::npos) More... | |
Public Attributes | |
std::string | match_str |
regmatch_t | pmatch [12] |
Regular expression match result.
Index n=0
returns the string object representing the character sequence that matched the whole regular expression. If n
is out of range, or if n
is an unmatched sub-expression, then an empty string is returned.
std::string::size_type smatch::begin | ( | unsigned | i | ) | const |
std::string::size_type smatch::end | ( | unsigned | i | ) | const |
std::string::size_type smatch::size | ( | unsigned | i | ) | const |