ldas-tools-al
2.6.4
|
POSIX Regular Expression. More...
#include <regex.hh>
Public Member Functions | |
Regex () | |
Constructor. More... | |
Regex (const std::string ®ex, int flags=REG_EXTENDED) | |
Constructor. More... | |
Regex (const char *regex, int flags=REG_EXTENDED) | |
Constructor. More... | |
Regex (const Regex &Source) | |
Constructor. More... | |
~Regex () throw ( ) | |
Destructor. More... | |
bool | compiled () const |
Get compilation status. More... | |
const regex_t & | getPattern () const |
Get Compiled Pattern. More... | |
const std::string & | getRegex () const |
Get Regular Expression. More... | |
POSIX Regular Expression.
This class represents a POSIX regular expression.
Regex::Regex | ( | ) |
Constructor.
This constructor compiles the given regular expression.
|
explicit |
Constructor.
This constructor compiles the given regular expression.
regex | |
cflags |
LdasException |
|
explicit |
Constructor.
This constructor compiles the given regular expression.
regex | |
cflags |
LdasException |
Regex::Regex | ( | const Regex & | Source | ) |
Constructor.
This constructor compiles the given regular expression.
Source |
LdasException |
Regex::~Regex | ( | ) | ||
throw | ( | |||
) |
Destructor.
This just frees the compiled regex pattern.
|
inline |
Get compilation status.
|
inline |
Get Compiled Pattern.
|
inline |
Get Regular Expression.