MCPcopy Create free account
hub / github.com/RenderKit/embree / regex_match

Function regex_match

tutorials/verify/verify.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 bool regex_match(std::string str, std::string regex)
55 {
56#if (defined(__INTEL_COMPILER) && (__INTEL_COMPILER < 1600)) // works around __ZTVNSt3__123__match_any_but_newlineIcEE link error
57 return str == regex;
58#elif defined(__GNUC__) && !defined(__clang__) && (__GNUC__ <= 4) && (__GNUC_MINOR__ < 8) // workaround for older gcc version
59 return str == regex;
60#else
61 std::smatch match; std::regex regexpr(regex);
62 return std::regex_match(str, match, regexpr);
63#endif
64 }
65
66 void AssertNoError(RTCDevice device)
67 {

Callers 8

runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
VerifyApplicationMethod · 0.85
parse_benchmark_listMethod · 0.85
matchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected