Lines Matching refs:PartialMatch
324 CHECK(RE2::PartialMatch("foo", r, &word1, &word2, &word3)); in TEST()
328 CHECK(RE2::PartialMatch("bar", r, &word1, &word2, &word3)); in TEST()
332 CHECK(RE2::PartialMatch("baz", r, &word1, &word2, &word3)); in TEST()
336 CHECK(!RE2::PartialMatch("f", r, &word1, &word2, &word3)); in TEST()
363 CHECK(RE2::PartialMatch("a chrisr:9000 here", re, &all, &host, &port)); in TEST()
515 TEST(RE2, PartialMatch) { in TEST() argument
516 CHECK(RE2::PartialMatch("x", "x")); in TEST()
517 CHECK(RE2::PartialMatch("hello", "h.*o")); in TEST()
518 CHECK(RE2::PartialMatch("othello", "h.*o")); in TEST()
519 CHECK(RE2::PartialMatch("hello!", "h.*o")); in TEST()
520 CHECK(RE2::PartialMatch("x", "((((((((((((((((((((x))))))))))))))))))))")); in TEST()
575 CHECK(RE2::PartialMatch("1234", "(\\d)", &i)); in TEST()
577 CHECK(RE2::PartialMatch("-1234", "(-\\d)", &i)); in TEST()
869 CHECK(!RE2::PartialMatch("foo\n", "foo$")); in TEST()
1013 CHECK(RE2::PartialMatch(utf8_string, re_test3, &s)); in TEST()
1016 CHECK(RE2::PartialMatch(utf8_string, re_test4, &s)); in TEST()
1086 CHECK(!RE2::PartialMatch("a\\b", re)); in TEST()
1093 CHECK(!RE2::PartialMatch("aaa", re)); in TEST()
1103 CHECK(RE2::PartialMatch(s, re)); in TEST()
1128 CHECK(RE2::PartialMatch(s, re)); in TEST()
1151 EXPECT_TRUE(RE2::PartialMatch(sp, "(?i)([wand]{5})", &result)); in TEST()
1161 EXPECT_TRUE(RE2::PartialMatch("e", re_string)); in TEST()
1162 EXPECT_TRUE(RE2::PartialMatch("e", re_stringpiece)); in TEST()
1163 EXPECT_TRUE(RE2::PartialMatch("e", re_cstring)); in TEST()
1164 EXPECT_TRUE(RE2::PartialMatch("e", ".")); in TEST()
1176 EXPECT_TRUE(RE2::PartialMatch("bar:1,0x2F,030,4,5;baz:true;fooby:false,true", in TEST()
1238 EXPECT_FALSE(re.PartialMatch(t.text, re)); in TEST()
1241 EXPECT_TRUE(re.PartialMatch(t.text, re, &m)); in TEST()
1300 EXPECT_TRUE(RE2::PartialMatch(str, "(.).*?(.).*?(.)", &a, &b, &c)); in TEST()
1305 EXPECT_TRUE(RE2::PartialMatch(str, "(.).*?([\\p{L}]).*?(.)", &a, &b, &c)); in TEST()
1310 EXPECT_FALSE(RE2::PartialMatch(str, "\\P{L}")); in TEST()
1312 EXPECT_TRUE(RE2::PartialMatch(str, "(.).*?([\\p{Lu}]).*?(.)", &a, &b, &c)); in TEST()
1317 EXPECT_FALSE(RE2::PartialMatch(str, "[^\\p{Lu}\\p{Lo}]")); in TEST()
1319 EXPECT_TRUE(RE2::PartialMatch(str, ".*(.).*?([\\p{Lu}\\p{Lo}]).*?(.)", &a, &b, &c)); in TEST()
1346 EXPECT_FALSE(RE2::PartialMatch("x", re)); // always worked in TEST()
1347 EXPECT_FALSE(RE2::PartialMatch("k", re)); // broke because of kelvin in TEST()
1348 EXPECT_FALSE(RE2::PartialMatch("s", re)); // broke because of latin long s in TEST()