cpp/regex/match results/str

Returns a string representing the indicated sub-match.

If, a string representing entire matched expression is returned.

If, a string representing n$th$ sub-match is returned.

if, a string representing the unmatched match is returned.

The call is equivalent to ;

Return value
Returns a string representing the specified match or sub match.