16 #include <sys/types.h> 48 Regexp (
const std::string& pattern_);
60 int match (
const char* text_);
const char * get_error() const
Return error message.
Regexp(const std::string &pattern_)
Constructor.
const char * get_pattern() const
Return the original pattern (uncompiled)
A collection of assert function wrappers.
int match(const char *text_)
Match an ASCII character string agains the pattern this class wraps.
regex_t * m_compiled_pattern