yast2-core
|
#include <IniParser.h>
Public Member Functions | |
const string & | operator[] (size_t i) |
operator bool () | |
RegexMatch (const Regex &rx, const string &s, size_t nmatch=20) | |
Public Attributes | |
vector< string > | matches |
string | rest |
Tries to match a string against a regex and holds results
|
inline |
rx | a compiled regex |
s | a string to match |
nmatch | how many rm_matches to reserve |
References Regex::regex().
|
inline |
did the string match
|
inline |
vector<string> RegexMatch::matches |
Matched subexpressions (0 - the whole regex)
Referenced by IniParser::parse_helper().
string RegexMatch::rest |
The unmatched part of the string
Referenced by IniParser::parse_helper().