TF++, Miscellaneous classes and modules in C++:
tfxx::string::regexx Class Reference

#include <regexx.h>

Collaboration diagram for tfxx::string::regexx:

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::regexxcontainerMcontainer
 

Detailed Description

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.

Definition at line 79 of file regexx.h.


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