1 #ifndef SUPLIB_PP_COLSELECT_H 2 #define SUPLIB_PP_COLSELECT_H 33 void colselect(
const std::vector<std::string>& icolumns,
34 const std::vector<std::string>& exact_add,
35 const std::vector<std::string>& regex_add,
36 const std::vector<std::string>& exact_del,
37 const std::vector<std::string>& regex_del,
38 std::vector<std::string>& ocolumns
41 bool match(
const std::string& str,
const std::string& pattern );
The suplib namespace encompasses all of the functions in the suplib++ library.
bool match(const std::string &str, const std::string &pattern)
handles Perl regular expression matching.
void colselect(const std::vector< std::string > &icolumns, const std::vector< std::string > &exact_add, const std::vector< std::string > ®ex_add, const std::vector< std::string > &exact_del, const std::vector< std::string > ®ex_del, std::vector< std::string > &ocolumns)
select columns based on exact/regex matching/exclusion.