class RE
Defined at line 974 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h
A simple C++ wrapper for
<regex
.h>. It uses the POSIX Extended
Regular Expression syntax.
Public Methods
void RE (const RE & other)
A copy constructor is required by the Standard to initialize object
references from r-values.
Defined at line 978 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h
void RE (const ::std::string & regex)
Constructs an RE from a string.
Defined at line 981 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h
void RE (const char * regex)
Defined at line 983 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h
const char * pattern ()
Returns the string representation of the regex.
Defined at line 987 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h
bool FullMatch (const ::std::string & str, const RE & re)
FullMatch(str, re) returns true if and only if regular expression re
matches the entire str.
PartialMatch(str, re) returns true if and only if regular expression re
matches a substring of str (including str itself).
Defined at line 993 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h
bool PartialMatch (const ::std::string & str, const RE & re)
Defined at line 996 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h
void ~RE ()
bool FullMatch (const char * str, const RE & re)
bool PartialMatch (const char * str, const RE & re)