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