Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:29:19

0001 #ifndef FWCore_Utilities_RegexMatch_h
0002 #define FWCore_Utilities_RegexMatch_h
0003 
0004 #include <regex>
0005 #include <string>
0006 #include <vector>
0007 
0008 namespace edm {
0009 
0010   bool untaintString(char const* pattern, char const* regexp);
0011 
0012   bool is_glob(std::string const& pattern);
0013 
0014   std::string glob2reg(std::string const& pattern);
0015 
0016   std::vector<std::vector<std::string>::const_iterator> regexMatch(std::vector<std::string> const& strings,
0017                                                                    std::regex const& regexp);
0018 
0019   std::vector<std::vector<std::string>::const_iterator> regexMatch(std::vector<std::string> const& strings,
0020                                                                    std::string const& pattern);
0021 }  // namespace edm
0022 
0023 #endif  // FWCore_Utilities_RegexMatch_h