getCaptureCount

Returns the number of capturing subpatterns in the pattern.

Return

the number of capturing subpatterns

Since

2.14