Home
last modified time | relevance | path

Searched refs:NumberOfCapturingGroups (Results 1 – 7 of 7) sorted by relevance

/third_party/re2/util/
Dpcre.cc617 if (NumberOfCapturingGroups() < n) { in DoMatchImpl()
675 int number_of_capturing_groups = NumberOfCapturingGroups(); in Rewrite()
737 if (max_token > NumberOfCapturingGroups()) { in CheckRewriteString()
741 max_token, NumberOfCapturingGroups()); in CheckRewriteString()
750 int PCRE::NumberOfCapturingGroups() const { in NumberOfCapturingGroups() function in re2::PCRE
Dpcre.h451 int NumberOfCapturingGroups() const;
/third_party/re2/re2/testing/
Dexhaustive_tester.cc108 int ngroup = re.NumberOfCapturingGroups()+1; in HandleRegexp()
Dre2_test.cc545 ASSERT_EQ(re.NumberOfCapturingGroups(), 1); in TEST()
552 ASSERT_EQ(re.NumberOfCapturingGroups(), 6); in TEST()
564 int num_groups = re.NumberOfCapturingGroups(); in TEST()
1350 EXPECT_EQ(0, re.NumberOfCapturingGroups()); in TEST()
/third_party/re2/re2/
Dre2.cc606 int ncap = 1 + NumberOfCapturingGroups(); in GlobalReplace()
803 if (NumberOfCapturingGroups() < n) { in GlobalReplace()
884 if (max_token > NumberOfCapturingGroups()) { in GlobalReplace()
888 max_token, NumberOfCapturingGroups()); in GlobalReplace()
Dre2.h481 int NumberOfCapturingGroups() const { return num_captures_; } in NumberOfCapturingGroups() function
/third_party/re2/re2/fuzzing/
Dre2_fuzzer.cc66 if (re.NumberOfCapturingGroups() == 0) { in Test()