EPICS ARCHIVER V4
|
Wrapper for Unix/GNU regex library. More...
#include <RegularExpression.h>
Public Member Functions | |
RegularExpression (const char *pattern, bool case_sensitive=true) | |
Create RegularExpression with pattern for further matches. More... | |
RegularExpression (const RegularExpression &rhs) | |
Copy constructor. | |
~RegularExpression () | |
Destructor. | |
bool | doesMatch (const char *input) |
Test if 'input' matches current pattern. More... | |
bool | doesMatch (const stdString &input) |
Check. | |
Static Public Member Functions | |
static std::string | fromGlobPattern (const std::string &glob) |
Create a regular expression for a "glob" pattern: question mark - any character star - many characters case insensitive. | |
Friends | |
class | ToRemoveGNUCompilerWarning |
Wrapper for Unix/GNU regex library.
|
inline |
Create RegularExpression with pattern for further matches.
GenericException | on compilation error |
bool RegularExpression::doesMatch | ( | const char * | input | ) |
Test if 'input' matches current pattern.
Currently uses
When no pattern was supplied, anything matches!