/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Utilities/interface/RegexMatch.h
23 строки
779 B
W. David Dagenhart
Changes from scram build code-format-all
03 май 2019, 18:48
03 май 2019, 18:48
22c28dc
Код
Авторство
О чём код?
#ifndef FWCore_Utilities_RegexMatch_h #define FWCore_Utilities_RegexMatch_h #include <regex> #include <string> #include <vector> namespace edm { bool untaintString(char const* pattern, char const* regexp); bool is_glob(std::string const& pattern); std::string glob2reg(std::string const& pattern); std::vector<std::vector<std::string>::const_iterator> regexMatch(std::vector<std::string> const& strings, std::regex const& regexp); std::vector<std::vector<std::string>::const_iterator> regexMatch(std::vector<std::string> const& strings, std::string const& pattern); } // namespace edm #endif // FWCore_Utilities_RegexMatch_h