cpp/regex/match results/~match results

Destructs the object and the associated sub-matches.

Complexity
Linear in the number of sub-matches.