Project: v8 Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 5080 Fix \w and \b in unicode case-insensitive regexp
Starred by 3 users Project Member Reported by yangguo@chromium.org, Jun 8 2016 Back to list
Status: Fixed
Owner:
Closed: Feb 28
Cc:
HW: ----
OS: ----
Priority: 2
Type: Bug



Sign in to add a comment
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
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