https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117394
Nadav Har'El <nyh at math dot technion.ac.il> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nyh at math dot technion.ac.il --- Comment #3 from Nadav Har'El <nyh at math dot technion.ac.il> --- I think this issue is more accurately a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86164. That bug is very sad, it has been open for seven years now and has led to a mass exodus from std::regex to boost::regex which doesn't have this bug - because it's a serious bug with serious symptoms (crash) that applications have no way to avoid: Issue 61601 was a less serious issue because it was about a very complex regular expression, which users can simply avoid. But issue 86164 and the one reported here is much more serious: Here the regular expression is simple - but the user input is just longer, something which is hard for applications to avoid. Even worse - the failure mode isn't some sort of clean "error", it is an outright crash of the application.