powered by
Count the number of capture groups in a regular expression.
count_capture_groups(regex)
(character of length 1)
character
numeric of length 1
numeric