Regular expression.
More...
#include <Regex.h>
Regular expression.
Definition at line 86 of file Regex.h.
Enumerator |
---|
icase |
Do not differentiate case.
|
nosubs |
Support for substring addressing of matches is not required.
|
match_extended |
Use POSIX Extended Regular Expression syntax when interpreting regex.
|
Definition at line 90 of file Regex.h.
regex::~regex |
( |
| ) |
|
throw | ( | |
| ) | | |
zypp::str::regex::regex |
( |
const regex & |
rhs | ) |
|
|
inline |
regex& zypp::str::regex::operator= |
( |
const regex & |
rhs | ) |
|
|
inline |
std::string zypp::str::regex::asString |
( |
| ) |
const |
|
inline |
string representation of the regular expression
Definition at line 109 of file Regex.h.
regex_t* zypp::str::regex::get |
( |
| ) |
|
|
inline |
Expert backdoor.
Returns pointer to the compiled regex for direct use in regexec()
Definition at line 114 of file Regex.h.
void regex::assign |
( |
const std::string & |
s, |
|
|
int |
flags = match_extended |
|
) |
| |
|
private |
bool regex_match |
( |
const char * |
s, |
|
|
const regex & |
regex |
|
) |
| |
|
friend |
regex ZYPP_STR_REGEX
regex ZYPP_STR_REGEX
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const regex & |
obj |
|
) |
| |
|
related |
Stream output
Definition at line 131 of file Regex.h.
std::string zypp::str::regex::m_str |
|
private |
int zypp::str::regex::m_flags |
|
private |
regex_t zypp::str::regex::m_preg |
|
private |
bool zypp::str::regex::m_valid |
|
private |
The documentation for this class was generated from the following files: