WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 205477
256948
Unicode regular expressions with codepoints > U+10000 corrupts string replacement in html
https://bugs.webkit.org/show_bug.cgi?id=256948
Summary
Unicode regular expressions with codepoints > U+10000 corrupts string replace...
wcshds
Reported
2023-05-17 22:39:11 PDT
Created
attachment 466395
[details]
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.
Attachments
example
(41.53 KB, image/png)
2023-05-17 22:39 PDT
,
wcshds
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2023-05-18 14:56:10 PDT
This does look identical. *** This bug has been marked as a duplicate of
bug 205477
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug