Great talk about Unicode & JS by @mathias - http://echo360.rub.de:8080/ess/echo/presentation/20d06e0b-94e0-476b-b7f6-333d37afb82b …
37:00 "lone high surrogates are allowed in js" Why? And why not the lows?
-
-
.
@mathias okay, so this "simpler" regex's enough to match all Unicode, right? /^[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF]?[\uDC00-\uDFFF]?$/ -
@mathias Oh, I know. Mine matches empty strings. That's bad. =( - 2 more replies
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.