https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Not a bug, this is the expected behaviour for ECMAScript regular expressions.
Using one of the POSIX syntax options will cause regex_error to be thrown.
