MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / MatchesRegex

Function MatchesRegex

tests/gtest/gtest.h:9574–9577  ·  view source on GitHub ↗

Matches a string that fully matches regular expression 'regex'. The matcher takes ownership of 'regex'.

Source from the content-addressed store, hash-verified

9572// Matches a string that fully matches regular expression 'regex'.
9573// The matcher takes ownership of 'regex'.
9574inline PolymorphicMatcher<internal::MatchesRegexMatcher> MatchesRegex(
9575 const internal::RE* regex) {
9576 return MakePolymorphicMatcher(internal::MatchesRegexMatcher(regex, true));
9577}
9578inline PolymorphicMatcher<internal::MatchesRegexMatcher> MatchesRegex(
9579 const std::string& regex) {
9580 return MatchesRegex(new internal::RE(regex));

Callers

nothing calls this directly

Calls 2

MakePolymorphicMatcherFunction · 0.85
MatchesRegexMatcherClass · 0.85

Tested by

no test coverage detected