15 #ifndef HEXT_TYPE_REGEX_MATCH_H_INCLUDED
16 #define HEXT_TYPE_REGEX_MATCH_H_INCLUDED
25 #include <boost/regex.hpp>
44 bool matches(
const GumboNode * node)
const override;
Defines template hext::Cloneable.
Defines HEXT_PUBLIC and HEXT_PRIVATE.
Curiously recurring template pattern that extends a base class to provide a virtual method Cloneable:...
Matches the name of an HTML element against a regular expression.
TypeRegexMatch(boost::regex regex)
Constructs a TypeRegexMatch.
bool matches(const GumboNode *node) const override
Returns true if the node has a tag name which matches the given regex.