Home
last modified time | relevance | path

Searched refs:FindAndConsumeN (Results 1 – 4 of 4) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
Dregexp_adapter_re2.cc117 return DispatchRE2Call(RE2::FindAndConsumeN, utf8_input, utf8_regexp_, in Consume()
/third_party/re2/re2/
Dre2.h313 static bool FindAndConsumeN(StringPiece* input, const RE2& re,
393 return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...); in FindAndConsume()
Dre2.cc355 bool RE2::FindAndConsumeN(StringPiece* input, const RE2& re, in FindAndConsumeN() function in re2::RE2
/third_party/re2/re2/testing/
Dre2_test.cc287 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()