Unit.pm: add other space variants to regex
git-svn-id: https://svn.fhem.de/fhem/trunk@13272 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -4364,7 +4364,7 @@ sub Unit_DbLog_split($$) {
|
||||
formatReading( $name, $reading, "" );
|
||||
|
||||
if ( defined($txt) && defined($reading) && defined($val) ) {
|
||||
$txt =~ s/\s*$val\s*//;
|
||||
$txt =~ s/[\s\u202F\u00A0]*$val[\s\u202F\u00A0]*//;
|
||||
$value = $val;
|
||||
if ( !looks_like_number($val) && defined($val_num) ) {
|
||||
if ( ref($val_num) eq "ARRAY" ) {
|
||||
|
||||
Reference in New Issue
Block a user