15 #ifndef HEXT_REGEX_PIPE_H_INCLUDED
16 #define HEXT_REGEX_PIPE_H_INCLUDED
27 #include <boost/regex.hpp>
61 std::string
transform(std::string str)
const override;
Defines template hext::Cloneable.
Declares hext::StringPipe.
Defines HEXT_PUBLIC and HEXT_PRIVATE.
Curiously recurring template pattern that extends a base class to provide a virtual method Cloneable:...
Filters a string according to a given regex.
RegexPipe(boost::regex regex)
Constructs a RegexPipe from a boost::regex.
std::string transform(std::string str) const override
Filters the string according to the regex given in the constructor.