Home
last modified time | relevance | path

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

/external/regex-re2/re2/testing/
Dre2_test.cc607 TEST(RE2, FullMatchN) { in TEST() argument
612 EXPECT_TRUE(RE2::FullMatchN("hello", "h.*o", args, 0)); in TEST()
613 EXPECT_FALSE(RE2::FullMatchN("othello", "h.*o", args, 0)); in TEST()
618 EXPECT_TRUE(RE2::FullMatchN("1001", "(\\d+)", args, 1)); in TEST()
620 EXPECT_FALSE(RE2::FullMatchN("three", "(\\d+)", args, 1)); in TEST()
625 EXPECT_TRUE(RE2::FullMatchN("42:life", "(\\d+):(\\w+)", args, 2)); in TEST()
628 EXPECT_FALSE(RE2::FullMatchN("hi1", "(\\w+)(1)", args, 2)); in TEST()
/external/regex-re2/re2/
Dre2.h328 static bool FullMatchN(const StringPiece& text, const RE2& re,
331 bool, const StringPiece&, const RE2&, Arg, RE2::FullMatchN> FullMatch;
Dre2.cc29 const VariadicFunction2<bool, const StringPiece&, const RE2&, RE2::Arg, RE2::FullMatchN> RE2::FullM…
298 bool RE2::FullMatchN(const StringPiece& text, const RE2& re, in FullMatchN() function in re2::RE2