MCPcopy Create free account
hub / github.com/google/re2j / numberOfCapturingGroups

Method numberOfCapturingGroups

java/com/google/re2j/RE2.java:208–210  ·  view source on GitHub ↗

Returns the number of parenthesized subexpressions in this regular expression.

()

Source from the content-addressed store, hash-verified

206 * Returns the number of parenthesized subexpressions in this regular expression.
207 */
208 int numberOfCapturingGroups() {
209 return numSubexp;
210 }
211
212 /**
213 * Returns the number of instructions in this compiled regular expression program.

Callers 3

MatcherMethod · 0.95
testNumSubexpMethod · 0.80
groupCountMethod · 0.80

Calls

no outgoing calls

Tested by 1

testNumSubexpMethod · 0.64