Home | History | Annotate | Download | only in gtest

Lines Matching refs:re

50 // Implements RE.  Currently only needed for death tests.
52 RE::~RE() {
57 // Returns true iff str contains regular expression re.
58 bool RE::PartialMatch(const char* str, const RE& re) {
59 if (!re.is_valid_) return false;
62 return regexec(&re.regex_, str, 1, &match, 0) == 0;
65 // Initializes an RE from its string representation.
66 void RE::Init(const char* regex) {