Searched refs:PartialMatchN (Results 1 – 4 of 4) sorted by relevance
/third_party/re2/re2/testing/ |
D | re2_test.cc | 606 TEST(RE2, PartialMatchN) { in TEST() argument 611 EXPECT_TRUE(RE2::PartialMatchN("hello", "e.*o", args, 0)); in TEST() 612 EXPECT_FALSE(RE2::PartialMatchN("othello", "a.*o", args, 0)); in TEST() 617 EXPECT_TRUE(RE2::PartialMatchN("1001 nights", "(\\d+)", args, 1)); in TEST() 619 EXPECT_FALSE(RE2::PartialMatchN("three", "(\\d+)", args, 1)); in TEST() 624 EXPECT_TRUE(RE2::PartialMatchN("answer: 42:life", "(\\d+):(\\w+)", args, 2)); in TEST() 627 EXPECT_FALSE(RE2::PartialMatchN("hi1", "(\\w+)(1)", args, 2)); in TEST()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | regexp_adapter_re2.cc | 131 return DispatchRE2Call(RE2::PartialMatchN, input_string, utf8_regexp_, in Match()
|
/third_party/re2/re2/ |
D | re2.h | 309 static bool PartialMatchN(const StringPiece& text, const RE2& re, 375 return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...); in PartialMatch()
|
D | re2.cc | 339 bool RE2::PartialMatchN(const StringPiece& text, const RE2& re, in PartialMatchN() function in re2::RE2
|