Function RegEx.getGroupCount

Returns the number of capturing groups in compiled pattern.

long getGroupCount() nothrow @nogc const;