W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2010

[Bug 11098] New: Possible errors in integer and float regular expressions

From: <bugzilla@jessica.w3.org>
Date: Tue, 19 Oct 2010 21:04:02 +0000
To: public-script-coord@w3.org
Message-ID: <bug-11098-3890@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11098

           Summary: Possible errors in integer and float regular
                    expressions
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: kevin@kevlindev.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


The regular expressions for "integer"[1] and "float"[2], as currently defined
in the dev spec[3], do not allow negated base 10 numbers, nor negated
scientific notation numbers with integer coefficients. I assume those cases
should be allowed as well?

Thanks,
Kevin

[1] integer = -?0([0-7]*|[Xx][0-9A-Fa-f]+)|[1-9][0-9]*
[2] float =
-?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+
[3] http://dev.w3.org/2006/webapi/WebIDL/#idl-grammar

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 19 October 2010 21:04:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:03 UTC