Lines Matching refs:regexp
24 const char* regexp; member
109 LOG(INFO) << "Checking regexp=" << CEscape(t.regexp); in TEST()
110 Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); in TEST()
115 << " " << t.regexp; in TEST()
119 CHECK(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)); in TEST()
121 EXPECT_EQ(t.min, min) << t.regexp; in TEST()
122 EXPECT_EQ(t.max, max) << t.regexp; in TEST()
181 void HandleRegexp(const string& regexp);
194 void PossibleMatchTester::HandleRegexp(const string& regexp) { in HandleRegexp() argument
197 VLOG(3) << CEscape(regexp); in HandleRegexp()
199 RE2 re(regexp, RE2::Latin1); in HandleRegexp()
207 if(strstr(regexp.c_str(), "\\C*")) in HandleRegexp()
209 LOG(QFATAL) << "PossibleMatchRange failed on: " << CEscape(regexp); in HandleRegexp()
218 CHECK_GE(s, min) << " regexp: " << regexp << " max: " << max; in HandleRegexp()
219 CHECK_LE(s, max) << " regexp: " << regexp << " min: " << min; in HandleRegexp()