Home
last modified time | relevance | path

Searched refs:PartialMatchN (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dre2_test.cc615 TEST(RE2, PartialMatchN) { in TEST() argument
620 EXPECT_TRUE(RE2::PartialMatchN("hello", "e.*o", args, 0)); in TEST()
621 EXPECT_FALSE(RE2::PartialMatchN("othello", "a.*o", args, 0)); in TEST()
626 EXPECT_TRUE(RE2::PartialMatchN("1001 nights", "(\\d+)", args, 1)); in TEST()
628 EXPECT_FALSE(RE2::PartialMatchN("three", "(\\d+)", args, 1)); in TEST()
633 EXPECT_TRUE(RE2::PartialMatchN("answer: 42:life", "(\\d+):(\\w+)", args, 2)); in TEST()
636 EXPECT_FALSE(RE2::PartialMatchN("hi1", "(\\w+)(1)", args, 2)); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dre2.h324 static bool PartialMatchN(const StringPiece& text, const RE2& re,
390 return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...); in PartialMatch()
Dre2.cc376 bool RE2::PartialMatchN(const StringPiece& text, const RE2& re, in PartialMatchN() function in re2::RE2