CMS 3D CMS Logo

RegexMatch.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_RegexMatch_h
2 #define FWCore_Utilities_RegexMatch_h
3 
4 #include <regex>
5 #include <string>
6 #include <vector>
7 
8 namespace edm {
9 
10  bool untaintString(char const* pattern, char const* regexp);
11 
12  bool is_glob(std::string const& pattern);
13 
15 
16  std::vector<std::vector<std::string>::const_iterator> regexMatch(std::vector<std::string> const& strings,
17  std::regex const& regexp);
18 
19  std::vector<std::vector<std::string>::const_iterator> regexMatch(std::vector<std::string> const& strings,
20  std::string const& pattern);
21 } // namespace edm
22 
23 #endif // FWCore_Utilities_RegexMatch_h
edm::regexMatch
std::vector< std::vector< std::string >::const_iterator > regexMatch(std::vector< std::string > const &strings, std::regex const &regexp)
Definition: RegexMatch.cc:26
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::is_glob
bool is_glob(std::string const &pattern)
Definition: RegexMatch.cc:17
fetchall_from_DQM_v2.regexp
regexp
Definition: fetchall_from_DQM_v2.py:93
nano_cff.strings
strings
Definition: nano_cff.py:26
edm::glob2reg
std::string glob2reg(std::string const &pattern)
Definition: RegexMatch.cc:19
edm::untaintString
bool untaintString(char const *pattern, char const *regexp)
Definition: RegexMatch.cc:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
topSingleLeptonDQM_PU_cfi.pattern
pattern
Definition: topSingleLeptonDQM_PU_cfi.py:39