#include <Regex.h>
Public Types | |
| enum | RegFlags { optimize = 0, match_extra = 0, icase = REG_ICASE, nosubs = REG_NOSUB, match_extended = REG_EXTENDED, normal = 1<<16 } |
Public Member Functions | |
| regex () | |
| regex (const std::string &s, int flags=match_extended) | |
| ~regex () throw () | |
| void | assign (const std::string &s, int flags=match_extended) |
Private Attributes | |
| regex_t | m_preg |
| bool | m_valid |
Friends | |
| class | smatch |
| bool | regex_match (const std::string &s, str::smatch &matches, const regex ®ex) |
| bool | regex_match (const std::string &s, const regex ®ex) |
Definition at line 40 of file Regex.h.
| regex::regex | ( | const std::string & | s, | |
| int | flags = match_extended | |||
| ) |
| void regex::assign | ( | const std::string & | s, | |
| int | flags = match_extended | |||
| ) |
Definition at line 28 of file Regex.cc.
References m_preg, m_valid, match_extended, normal, and ZYPP_THROW.
Referenced by zypp::locks::AddLockToPool::operator()(), and regex().
| bool regex_match | ( | const std::string & | s, | |
| str::smatch & | matches, | |||
| const regex & | regex | |||
| ) | [friend] |
| bool regex_match | ( | const std::string & | s, | |
| const regex & | regex | |||
| ) | [friend] |
regex_t zypp::str::regex::m_preg [private] |
Definition at line 62 of file Regex.h.
Referenced by assign(), zypp::str::regex_match(), and ~regex().
bool zypp::str::regex::m_valid [private] |
Definition at line 63 of file Regex.h.
Referenced by assign(), zypp::str::regex_match(), and ~regex().
1.5.3