Blog post: "
".length === 2 http://blog.jonnew.com/posts/poo-dot-length-equals-two … #javascript #unicode
-
-
"
".match(/./gu).length === 1, that's great! Unicode regexes appear to be well-thought-out -
ES5 version: "
".match(/([\ud800-\udbff][\udc00-\udfff]|[^])/g) - 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.