Regex.getCaptureCount

Returns the number of capturing subpatterns in the pattern.

class Regex
int
getCaptureCount
()

Return Value

Type: int

the number of capturing subpatterns

Meta

Since

2.14