[Webkit-unassigned] [Bug 15103] New: regexp removes chars when an escape sequence is unknown.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 28 13:10:32 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=15103
Summary: regexp removes chars when an escape sequence is unknown.
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: hartman at videolan.org
I ran into a case where all v's were removed from my text. I went trough all
the scripts and found that one was doing a
.replace(/[\t\v\u00a0\u2028\u2029]+/g, ' '). Because Safari RegExp apparently
doesn't know the \v (vertical tab), it instead opted to replace all my v's
--
Configure bugmail: http://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