https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102445 Bug 102445 depends on bug 102480, which changed state.
Bug 102480 Summary: std::regex fails to match ^ when match_prev_avail is used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102480 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |INVALID