MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / ThrowInvalidRegex

Function ThrowInvalidRegex

src/OpenColorIO/FileRules.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void 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
59std::string ConvertToRegularExpression(const char * globPattern, bool ignoreCase)
60{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected