Searched refs:NumberOfCapturingGroups (Results 1 – 7 of 7) sorted by relevance
408 if (nvec > 1 + re.NumberOfCapturingGroups()) in Replace()430 if (nvec > 1 + re.NumberOfCapturingGroups()) in GlobalReplace()504 if (nvec > 1 + re.NumberOfCapturingGroups()) in GlobalReplace()648 int ncap = 1 + NumberOfCapturingGroups(); in GlobalReplace()892 if (NumberOfCapturingGroups() < n) { in GlobalReplace()973 if (max_token > NumberOfCapturingGroups()) { in GlobalReplace()977 max_token, NumberOfCapturingGroups()); in GlobalReplace()
496 int NumberOfCapturingGroups() const { return num_captures_; } in NumberOfCapturingGroups() function
615 if (NumberOfCapturingGroups() < n) { in DoMatchImpl()673 int number_of_capturing_groups = NumberOfCapturingGroups(); in Rewrite()735 if (max_token > NumberOfCapturingGroups()) { in CheckRewriteString()739 max_token, NumberOfCapturingGroups()); in CheckRewriteString()748 int PCRE::NumberOfCapturingGroups() const { in NumberOfCapturingGroups() function in re2::PCRE
451 int NumberOfCapturingGroups() const;
108 int ngroup = re.NumberOfCapturingGroups()+1; in HandleRegexp()
554 ASSERT_EQ(re.NumberOfCapturingGroups(), 1); in TEST()561 ASSERT_EQ(re.NumberOfCapturingGroups(), 6); in TEST()573 int num_groups = re.NumberOfCapturingGroups(); in TEST()1358 EXPECT_EQ(0, re.NumberOfCapturingGroups()); in TEST()
98 if (re.NumberOfCapturingGroups() == 0) { in TestOneInput()