CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RegexMatch.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_RegexMatch_h
2 #define FWCore_Utilities_RegexMatch_h
3 
4 #include <boost/regex_fwd.hpp>
5 
6 #include <string>
7 #include <vector>
8 
9 namespace edm {
10 
11  bool
12  untaintString(char const* pattern, char const* regexp);
13 
14  bool
15  is_glob(std::string const& pattern);
16 
19 
20  std::vector<std::vector<std::string>::const_iterator>
21  regexMatch(std::vector<std::string> const& strings, boost::regex const& regexp);
22 
23  std::vector<std::vector<std::string>::const_iterator>
24  regexMatch(std::vector<std::string> const& strings, std::string const& pattern);
25 }
26 
27 #endif // FWCore_Utilities_RegexMatch_h
bool is_glob(std::string const &pattern)
Definition: RegexMatch.cc:18
std::string glob2reg(std::string const &pattern)
Definition: RegexMatch.cc:22
list pattern
Definition: chain.py:104
std::vector< std::vector< std::string >::const_iterator > regexMatch(std::vector< std::string > const &strings, boost::regex const &regexp)
Definition: RegexMatch.cc:30
bool untaintString(char const *pattern, char const *regexp)
Definition: RegexMatch.cc:13