[Bug libstdc++/85824] regex constructor crashes under UTF-8 locale on Solaris SPARC when parsing a simple character class

timshen at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 18 18:29:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85824

--- Comment #6 from Tim Shen <timshen at gcc dot gnu.org> ---
(In reply to Tim Shen from comment #5)
> First of all, std::regex("[0-9]") shouldn't be locale sensitive, as
> regex_constants::collate is set.

Correction: as regex_constants::collate is *not* set.


More information about the Gcc-bugs mailing list