This commit is contained in:
Bluepr1nt
2017-03-29 12:45:14 +02:00
parent 4cd8ba16d2
commit afa471bc0f
+1 -1
View File
@@ -23,7 +23,7 @@ var parseTelegram = function(data, callback){
//TOE1
var FirstS = "1-0:1.8.1(000458.526*kWh)";
regx = new RegExp("^([a-z0-700]{*,})$");
if (regx.test(string)){
if (regx.test(str)){
console.log("Yes binnen");
}else {
console.log("No!!!!")