15 #ifndef HEXT_REGEX_TEST_H_INCLUDED
16 #define HEXT_REGEX_TEST_H_INCLUDED
25 #include <boost/regex.hpp>
53 bool test(
const char * subject)
const override;
Defines template hext::Cloneable.
Declares hext::ValueTest.
Defines HEXT_PUBLIC and HEXT_PRIVATE.
Curiously recurring template pattern that extends a base class to provide a virtual method Cloneable:...
Tests whether another string matches a given regex.
RegexTest(boost::regex regex)
Constructs a RegexTest that succeeds if a subject matches regex.
bool test(const char *subject) const override
Returns true if given regex matches subject.