Test case: /\c2/u Expected: SyntaxError thrown Actual: RegExp instance ECMA262: https://tc39.es/ecma262/#prod-annexB-ClassEscape (/u flag precludes the use of ClassControlLetter) ClassEscape[U, N] :: [~U] c ClassControlLetter ClassControlLetter :: DecimalDigit _ Test262: https://test262.report/browse/built-ins/RegExp/unicode_restricted_identity_escape_c.js https://test262.report/browse/language/literals/regexp/u-invalid-class-escape.js
Created attachment 389459 [details] Patch
Comment on attachment 389459 [details] Patch Clearing flags on attachment: 389459 Committed r255544: <https://trac.webkit.org/changeset/255544>
All reviewed patches have been landed. Closing bug.
<rdar://problem/59090903>