We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e96aa3b + ff9173c commit f5f4bf1Copy full SHA for f5f4bf1
1 file changed
libs/core/parser.js
@@ -16,7 +16,7 @@ function Parser(name, regExp, parser, processSafe) {
16
this.parse = parser;
17
}
18
19
-var numReg = /^[-+]?[0-9]*\.?[0-9]+$/;
+var numReg = /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/;
20
Parser.prototype.convertType = function(item) {
21
var type=this.type;
22
if (type === 'number') {
0 commit comments