Regex.getCaptureCount

Returns the number of capturing subpatterns in the pattern.

Return: the number of capturing subpatterns

class Regex
int
getCaptureCount
()

Meta

Since

2.14