30 using namespace boost;
35 RegexConverterPredicate::RegexConverterPredicate(
const string& regex):
44 return boost::regex_match(key, this->
regex);
48 return "RegexConverterPredicate";
52 stream <<
"pattern = " << this->
regex;
std::string getClassName() const
void printContents(std::ostream &) const
bool match(const std::string &key) const
Return true if the Converter associated to this predicate should be selected for key.
RegexConverterPredicate(const std::string ®ex)
Construct a new RegexConverterPredicate that matches queries against the regular expression regex...