@mathias please confirm. how are surrogate pairs treated by a conforming es6+ parser when one or the other side is \ escaped? still a noop?
In non-u regex, they’re treated as separate code units no matter how you represent them. In `u` regex it depends.
-
-
in non-identifier cases, can malformed or half surrogate pairs cause any kind of syntax error? i dont think they're open to exploits, right?
-
It really depends on the situation. I gave some examples inhttps://speakerdeck.com/mathiasbynens/hacking-with-unicode-in-2016 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.