cpp/regex/sub match/str

Converts to an object of the underlying std type.

The first version is an implicit conversion, the second one is explicit.

Parameters
(none)

Return value
Returns the matched character sequence as an object of the underlying std type. If the member is, then the empty string is returned.

Complexity
Linear in the length of the underlying character sequence.