[Webkit-unassigned] [Bug 20266] New: RegExp \s does not match NBSP
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 3 04:16:02 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20266
Summary: RegExp \s does not match NBSP
Product: WebKit
Version: 526+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Minor
Priority: P4
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kennytm at gmail.com
The \s pattern in regular expression does not match the non-breaking space
character (U+00A0).
According to the ECMA-262 standard (7.2 Whitespace & 15.10.2.12
CharacterClassEscape) the NBSP should be accepted as a member of \s class.
Step to reproduce:
Run the script /\s/.test("\u00A0");
Expected result:
return true
Actual result:
return false
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list