|
TF++, Miscellaneous classes and modules in C++:
|
#include <regexx.h>

Public Member Functions | |
| regexx () | |
| create instance. More... | |
| regexx (const std::string &e) | |
create instance and set expression to e. More... | |
| ~regexx () | |
| remove instance. More... | |
| void | expression (const std::string &e) |
set expression to e. More... | |
| std::string | expression () const |
| return expression More... | |
| bool | match (const std::string s) |
return true is s matches expression. More... | |
Private Attributes | |
| tfxx::string::helper::regexxcontainer * | Mcontainer |
interface to regular expression functionality.
This class provides an interface either to libregexx or libboost_regex, depending on the setting of the preprocessor flag OLDLIBREGEXX.
Create an instance of this class and set a regular expression. Using the match function you can check strings against the expression.