RESOLVED DUPLICATE of bug 158505 159055
Match updated spec for `/\w/iu` and `/\W/iu`
https://bugs.webkit.org/show_bug.cgi?id=159055
Summary Match updated spec for `/\w/iu` and `/\W/iu`
Mathias Bynens
Reported 2016-06-23 02:17:31 PDT
Now that https://github.com/tc39/ecma262/pull/525 has landed, `\u017F` (LATIN SMALL LETTER LONG S) and `\u212A` (KELVIN SIGN) are word characters for `/iu` patterns. Expected behavior: /\w/iu.test('\u017F') // true /\w/iu.test('\u212A') // true /\W/iu.test('\u017F') // false /\W/iu.test('\u212A') // false Actual behavior: currently, they all result in `true`.
Attachments
Patch (10.10 KB, patch)
2016-06-23 04:05 PDT, Yusuke Suzuki
msaboff: review-
Yusuke Suzuki
Comment 1 2016-06-23 04:05:15 PDT
Michael Saboff
Comment 2 2016-06-24 17:15:52 PDT
This work has already been done. See https://bugs.webkit.org/show_bug.cgi?id=158505 *** This bug has been marked as a duplicate of bug 158505 ***
Yusuke Suzuki
Comment 3 2016-06-26 09:42:36 PDT
(In reply to comment #2) > This work has already been done. See > https://bugs.webkit.org/show_bug.cgi?id=158505 > > *** This bug has been marked as a duplicate of bug 158505 *** Ah, thanks!
Note You need to log in before you can comment on or make changes to this bug.