- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 19 Sep 2006 12:48:07 +0000
- To: www-xml-schema-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3659 ------- Comment #4 from lholst@students.cs.uu.nl 2006-09-19 12:48 ------- There is another problem in decimal, float and double; the period is not escaped (thus matching any character and not just the period). The fixed patterns are: decimal: /^[+\-]?((\d+(\.\d*)?)|(\.\d+))$/, float: /^([+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][+\-]?\d+)?|-?INF|NaN)$/, Also note the modification of (e|E) into [eE] and (+|-) into [+\-]. ~Grauw
Received on Tuesday, 19 September 2006 12:48:25 UTC