8 std::string
const& pattern)
13 if (!std::regex_search(pattern, std::regex(
"%(\\d*)#")))
15 <<
"If you have specified the 'fileProperties' table in your " 17 <<
"then the file pattern '%#' MUST be present in the file name. For " 19 <<
" " << pattern.substr(0, pattern.find(
".root")) <<
"_%#.root\n" 20 <<
"is a supported file name. Please change your file name to include " void validateFileNamePattern(bool do_check, std::string const &pattern)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception