https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119708
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Alfred Agrell from comment #0) > Expected: Reject them. 00 and 01 do not match DecimalIntegerLiteral in the > JS spec, and lookahead can't be a digit either. What about https://262.ecma-international.org/#prod-LegacyOctalIntegerLiteral ? C++ regex references the ECMASCript 3rd edition, which had octal literals and octal escape sequences.
