Consider the expression: let m = String.fromCodePoint(0x10000).match(/../u); It should not match. The . atom (any character, but newline) should match the non-BMP character U+10000 leaving the second . nothing to match causing the whole RegExp to fail. The Yarr JIT properly processes the RegExp, but the Yarr interpreter erroneously matches.
<rdar://74698760>
Created attachment 423737 [details] Patch
Created attachment 423764 [details] Updated patch to fix layout test
Comment on attachment 423764 [details] Updated patch to fix layout test r=me
Committed r274806 (235606@main): <https://commits.webkit.org/235606@main>