Summary: DecimalEscape of /\8/ and /\9/ should just be the number, so /8/ or /9/ but it currently matches "\\8" or "\\9". Test: test262/test/annexB/language/literals/regexp/identity-escape.js Spec: https://tc39.github.io/ecma262/#sec-decimalescape Where "MV" is just the mathematical value: > The production DecimalEscape::NonZeroDigit evaluates as follows: > > Return the MV of NonZeroDigit. > > The production DecimalEscape::NonZeroDigitDecimalDigits evaluates as follows: > > Let n be the number of code points in DecimalDigits. > Return (the MV of NonZeroDigit × 10n) plus the MV of DecimalDigits. Notes: Both Chrome and Firefox match just the number.
Created attachment 306607 [details] [PATCH] Proposed Fix
Comment on attachment 306607 [details] [PATCH] Proposed Fix Clearing flags on attachment: 306607 Committed r215161: <http://trac.webkit.org/changeset/215161>
All reviewed patches have been landed. Closing bug.