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

Method groupCount

java/com/google/re2j/Matcher.java:274–276  ·  view source on GitHub ↗

Returns the number of subgroups in this pattern. @return the number of subgroups; the overall match (group 0) does not count

()

Source from the content-addressed store, hash-verified

272 * @return the number of subgroups; the overall match (group 0) does not count
273 */
274 public int groupCount() {
275 return groupCount;
276 }
277
278 /** Helper: finds subgroup information if needed for group. */
279 private void loadGroup(int group) {

Callers 2

testGroupCountMethod · 0.95
testGroupMethod · 0.95

Calls

no outgoing calls

Tested by 2

testGroupCountMethod · 0.76
testGroupMethod · 0.76