Searched refs:FindAndConsumeN (Results 1 – 4 of 4) sorted by relevance
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | regexp_adapter_re2.cc | 117 return DispatchRE2Call(RE2::FindAndConsumeN, utf8_input, utf8_regexp_, in Consume()
|
/third_party/re2/re2/ |
D | re2.h | 313 static bool FindAndConsumeN(StringPiece* input, const RE2& re, 393 return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...); in FindAndConsume()
|
D | re2.cc | 355 bool RE2::FindAndConsumeN(StringPiece* input, const RE2& re, in FindAndConsumeN() function in re2::RE2
|
/third_party/re2/re2/testing/ |
D | re2_test.cc | 287 TEST(RE2, FindAndConsumeN) { in TEST() argument 295 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)", args, 0)); // Skips "one". in TEST() 300 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)", args, 1)); in TEST() 306 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)\\s*(\\d+)", args, 2)); in TEST()
|