cpp/regex/basic regex/mark count

Returns the number of marked sub-expressions (also known as capture groups) within the regular expression.

Parameters
(none)

Return value
The number of marked sub-expressions within the regular expression.