[Webkit-unassigned] [Bug 256948] New: Unicode regular expressions with codepoints > U+10000 corrupts string replacement in html
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 17 22:39:11 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=256948
Bug ID: 256948
Summary: Unicode regular expressions with codepoints > U+10000
corrupts string replacement in html
Product: WebKit
Version: Safari 16
Hardware: iPhone / iPad
OS: iOS 16
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: wcshds at gmail.com
Created attachment 466395
--> https://bugs.webkit.org/attachment.cgi?id=466395&action=review
example
I know there is already a bug report. https://bugs.webkit.org/show_bug.cgi?id=205477
```
"".replace(/[^]/u, "")
```
While this regular expression works fine in the console, it still seems to return only the high surrogate in the html.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230518/05a3fec3/attachment.htm>
More information about the webkit-unassigned
mailing list