The predicate checks if the attribute value matches a regular expression. More...
#include <matches.hpp>


Public Member Functions | |
| attribute_matches (attribute_name const &name, RegexT const &rex) | |
| Initializing constructor. More... | |
| template<typename U > | |
| attribute_matches (attribute_name const &name, RegexT const &rex, U const &arg) | |
| Initializing constructor. More... | |
The predicate checks if the attribute value matches a regular expression.
The attribute value is assumed to be of a string type.
|
inline |
Initializing constructor.
| name | Attribute name |
| rex | The regular expression to match the attribute value against |
|
inline |
Initializing constructor.
| name | Attribute name |
| rex | The regular expression to match the attribute value against |
| arg | Additional parameter for the fallback policy |