Referencestdsub_matchstr member function std::sub_match::str Header<regex>Draft[re.submatch.general]Scopestd::sub_matchcppreferencestd::sub_match::str ↗ Synopsis string_type str() const;