Lines Matching refs:FindAndConsumeN
292 TEST(RE2, FindAndConsumeN) {
300 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)", args, 0)); // Skips "one".
305 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)", args, 1));
311 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)\\s*(\\d+)", args, 2));