-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
Now that tc39/ecma262#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
/\W/iu.test('s') // false
/\W/iu.test('S') // false
/\W/iu.test('K') // false
/\W/iu.test('k') // false
Actual behavior: currently, they all result in true
.
See also
Metadata
Metadata
Assignees
Labels
No labels