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