PartialMatchN 36 third_party/re2/re2/re2.cc const VariadicFunction2<bool, const StringPiece&, const RE2&, RE2::Arg, RE2::PartialMatchN> RE2::PartialMatch = {}; PartialMatchN 335 third_party/re2/re2/re2.h static bool PartialMatchN(const StringPiece& text, const RE2& re, // 3..16 args PartialMatchN 338 third_party/re2/re2/re2.h bool, const StringPiece&, const RE2&, Arg, RE2::PartialMatchN> PartialMatch; PartialMatchN 530 third_party/re2/re2/testing/re2_test.cc TEST(RE2, PartialMatchN) { PartialMatchN 535 third_party/re2/re2/testing/re2_test.cc EXPECT_TRUE(RE2::PartialMatchN("hello", "e.*o", args, 0)); PartialMatchN 536 third_party/re2/re2/testing/re2_test.cc EXPECT_FALSE(RE2::PartialMatchN("othello", "a.*o", args, 0)); PartialMatchN 541 third_party/re2/re2/testing/re2_test.cc EXPECT_TRUE(RE2::PartialMatchN("1001 nights", "(\\d+)", args, 1)); PartialMatchN 543 third_party/re2/re2/testing/re2_test.cc EXPECT_FALSE(RE2::PartialMatchN("three", "(\\d+)", args, 1)); PartialMatchN 548 third_party/re2/re2/testing/re2_test.cc EXPECT_TRUE(RE2::PartialMatchN("answer: 42:life", "(\\d+):(\\w+)", args, 2)); PartialMatchN 551 third_party/re2/re2/testing/re2_test.cc EXPECT_FALSE(RE2::PartialMatchN("hi1", "(\\w+)(1)", args, 2));