let r = /\W/iu;
r.test("J"); // false
r.test("K"); // true!
r.test("L"); // false
r.test("S"); // true!
*shakes fist at @FakeUnicode*
-
-
Replying to @bterlson
@bterlson@FakeUnicode Is this being discussed at TC39 or why did I see two separate bug reports about this yesterday?1 reply 0 retweets 0 likes -
-
Replying to @bterlson
@bterlson@FakeUnicode@mathias but https://mathiasbynens.be/notes/es6-unicode-regex#impact-i … is from 2014. Why the sudden excitement now?2 replies 0 retweets 0 likes -
Replying to @hashseed
@hashseed@FakeUnicode well@mathias just reminded me that we are still failing some canonicalization tests with u and i flags.2 replies 0 retweets 0 likes -
Replying to @bterlson
Fake “Unicode.” ↙️ Retweeted Fake “Unicode.” ↙️
@bterlson@hashseed@mathias What about cases where case-mapping is one way? /ß/iu.test('ẞ') vs /ẞ/iu.test('ß')https://twitter.com/FakeUnicode/status/699277084271603712 …Fake “Unicode.” ↙️ added,
2 replies 0 retweets 0 likes
@FakeUnicode https://mathiasbynens.be/notes/es6-unicode-regex#impact-i … “[…] folding applies to the symbols in the pattern + the symbols in the string.” +@bterlson @hashseed
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.