mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
FileLog: slightly better floating-point regexp
git-svn-id: https://svn.fhem.de/fhem/trunk@6767 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fd1871ba54
commit
e5e8cca74e
@ -703,7 +703,7 @@ RESCAN:
|
||||
|
||||
}
|
||||
|
||||
next if(!defined($val) || $val !~ m/^[-\.\d]+$/o);
|
||||
next if(!defined($val) || $val !~ m/^-?[.\d]+$/o);
|
||||
if($val < $min[$i]) {
|
||||
$min[$i] = $val;
|
||||
$mind[$i] = $dte;
|
||||
|
Loading…
x
Reference in New Issue
Block a user