https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67361
Tim Shen <timshen at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |timshen at gcc dot gnu.org --- Comment #1 from Tim Shen <timshen at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #0) > This would be more helpful if it included a string representation of the > error_code such as regex_constants::error_paren: > > terminate called after throwing an instance of 'std::regex_error' > what(): regex_error Would it be Ok to provide more specific, human readable error string? For example, "Unexpected end of regex after a backslash".