15 #ifndef HEXT_REGEX_REPLACE_PIPE_H_INCLUDED
16 #define HEXT_REGEX_REPLACE_PIPE_H_INCLUDED
27 #include <boost/regex.hpp>
53 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:...
Replaces a string within a string according to a given regex.
std::string transform(std::string str) const override
Replaces a string within str according to the regex given in the constructor.
RegexReplacePipe(boost::regex regex, std::string str)
Constructs a RegexReplacePipe.