| 49 | } |
| 50 | |
| 51 | void ThrowInvalidRegex(const char * globPattern, const char * what) |
| 52 | { |
| 53 | std::ostringstream oss; |
| 54 | oss << "File rules: invalid regular expression '" << std::string(globPattern) |
| 55 | << "' with '" << std::string(what) << "'."; |
| 56 | throw Exception(oss.str().c_str()); |
| 57 | } |
| 58 | |
| 59 | std::string ConvertToRegularExpression(const char * globPattern, bool ignoreCase) |
| 60 | { |
no outgoing calls
no test coverage detected