std::vector< std::string > split(const std::string &s)
Splits a string into a vector of strings, using ',' as the separator.
bool match(const std::string &name, const std::string &attribute, const std::vector< std::string > &patterns, const MatchFlags flags=MatchEmptyPattern)
Matches a <name>:<attribute> string against a set of patterns.