cxxtools::Regex Class Reference

regex(3)-wrapper. More...

#include <cxxtools/regex.h>

Public Member Functions

 Regex ()
 Regex (const char *ex, int cflags=REG_EXTENDED)
 Regex (const std::string &ex, int cflags=REG_EXTENDED)
bool match (const std::string &str_, RegexSMatch &smatch, int eflags=0) const
bool match (const std::string &str_, int eflags=0) const
void free ()
bool empty () const

Detailed Description

regex(3)-wrapper.

Constructor & Destructor Documentation

cxxtools::Regex::Regex ( )
inline
cxxtools::Regex::Regex ( const char *  ex,
int  cflags = REG_EXTENDED 
)
inlineexplicit
cxxtools::Regex::Regex ( const std::string &  ex,
int  cflags = REG_EXTENDED 
)
inlineexplicit

Member Function Documentation

bool cxxtools::Regex::empty ( ) const
inline
void cxxtools::Regex::free ( )
inline
bool cxxtools::Regex::match ( const std::string &  str_,
RegexSMatch smatch,
int  eflags = 0 
) const
bool cxxtools::Regex::match ( const std::string &  str_,
int  eflags = 0 
) const

The documentation for this class was generated from the following file: