Better fix for css, reverting test

This commit is contained in:
Dave Conway-Jones
2016-06-14 23:55:50 +01:00
parent 8f2f3bf75d
commit e4d5271d58
2 changed files with 9 additions and 9 deletions

View File

@@ -112,7 +112,7 @@ module.exports = function(RED) {
var first = true; // is this the first line
var line = msg.payload;
var tmp = "";
var reg = new RegExp("^[-]?[0-9.]+[\.]?[0-9]+$");
var reg = new RegExp("^[-]?[0-9.]*[\.]?[0-9]*$");
// For now we are just going to assume that any \r or \n means an end of line...
// got to be a weird csv that has singleton \r \n in it for another reason...