https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116903
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think that's a valid ECMAScript regular expression. Try alert(RegExp("a{0}}").test("}")); in your browser console.
redi at gcc dot gnu.org via Gcc-bugs Mon, 30 Sep 2024 08:00:47 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116903
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think that's a valid ECMAScript regular expression. Try alert(RegExp("a{0}}").test("}")); in your browser console.