Regular expression.
More...
#include <Regex.h>
List of all members.
Related Functions |
(Note that these are not member functions.)
|
bool | regex_match (const char *s, smatch &matches, const regex ®ex) |
| Regular expression matching.
|
std::ostream & | operator<< (std::ostream &str, const regex &obj) |
Detailed Description
Regular expression.
Definition at line 86 of file Regex.h.
Member Enumeration Documentation
- Enumerator:
optimize |
- Deprecated:
- legacy, obsolete
|
match_extra |
- Deprecated:
- legacy, obsolete
|
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.
|
normal |
- Deprecated:
- legacy, use match_extended
|
Definition at line 90 of file Regex.h.
Constructor & Destructor Documentation
regex::~regex |
( |
| ) |
throw () |
zypp::str::regex::regex |
( |
const regex & |
rhs | ) |
|
|
inline |
Member Function Documentation
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 112 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 117 of file Regex.h.
void regex::assign |
( |
const std::string & |
s, |
|
|
int |
flags = match_extended |
|
) |
| |
|
private |
Friends And Related Function Documentation
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 134 of file Regex.h.
Member Data Documentation
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: