LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
RegexMatch.h
Go to the documentation of this file.
1 // functions shared between the art::EventSelector and the HLTHighLevel filter
2 
3 #ifndef art_Framework_Core_detail_RegexMatch_h
4 #define art_Framework_Core_detail_RegexMatch_h
5 
6 #include <string>
7 #include <vector>
8 
9 // ----------------------------------------------------------------------
10 
11 namespace art {
12 
13  bool is_glob(std::string const& pattern);
14 
15  std::string glob2reg(std::string pattern);
16 
18  std::vector<std::string> const& strings,
19  std::string const& pattern);
20 
21 } // namespace art
22 
23 // ======================================================================
24 
25 #endif /* art_Framework_Core_detail_RegexMatch_h */
26 
27 // Local Variables:
28 // mode: c++
29 // End:
intermediate_table::const_iterator const_iterator
std::vector< std::vector< std::string >::const_iterator > regexMatch(std::vector< std::string > const &strings, std::string const &pattern)
Definition: RegexMatch.cc:25
std::string glob2reg(std::string pattern)
Definition: RegexMatch.cc:17
Definition: MVAAlg.h:12
bool is_glob(std::string const &pattern)
Definition: RegexMatch.cc:11