New issue
Advanced search Search tips
Starred by 3 users
Status: Fixed
Owner:
Closed: Feb 2017
Cc:
HW: ----
OS: ----
Priority: 2
Type: Bug



Sign in to add a comment
Fix \w and \b in unicode case-insensitive regexp
Project Member Reported by yangguo@chromium.org, Jun 8 2016 Back to list
Cc: marja@chromium.org
More reading material: https://github.com/tc39/ecma262/issues/512
Cc: yangguo@chromium.org math...@qiwi.be
 Issue 5145  has been merged into this issue.
Cc: jgruber@chromium.org
Comment 4 Deleted
Comment 5 by math...@qiwi.be, Feb 8 2017
Test cases:

	/\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
	/\b/iu.test('\u017F') // true
	/\b/iu.test('\u212A') // true
	/\b/iu.test('s')      // true
	/\b/iu.test('S')      // true
	/\B/iu.test('\u017F') // false
	/\B/iu.test('\u212A') // false
	/\B/iu.test('s')      // false
	/\B/iu.test('S')      // false
	/\B/iu.test('K')      // false
	/\B/iu.test('k')      // false
Status: Fixed
Labels: Priority-2
Sign in to add a comment