|
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 matches, Regex::regex(), and rest.
|
inline |
did the string match
References matches.
|
inline |
References matches.
| vector<string> RegexMatch::matches |
Matched subexpressions (0 - the whole regex)
Referenced by operator bool(), operator[](), IniParser::parse_helper(), and RegexMatch().
| string RegexMatch::rest |
The unmatched part of the string
Referenced by IniParser::parse_helper(), and RegexMatch().
1.8.6