cpp/regex/match results/size

Returns the number of submatches, i.e..

Returns if  does not represent the result of a successful match.

Parameters
(none)

Return value
The number of submatches

Complexity
Constant