[Webkit-unassigned] [Bug 10611] New: Test of regular expression always yields false
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Mon Aug 28 15:23:12 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=10611
Summary: Test of regular expression always yields false
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: markmalone at mac.com
Given:
function isRestrictedText(s)
{
var filter = /^[\w!#$,;=@_`~\-\^\'\.\{\}\[\]\(\)\u00C0-\uFFFF](
?[\w!#$,;=@_`~\-\^\'\.\{\}\[\]\(\)\u00C0-\uFFFF])*$/;
alert(filter.test(s));
}
Legal and non-legal input values alert false.
--
Configure bugmail: http://bugzilla.opendarwin.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