98_structure.pm: split via \s+ (Forum #119054)

git-svn-id: https://svn.fhem.de/fhem/trunk@23818 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2021-02-24 10:23:46 +00:00
parent 36fa59c1ab
commit 89d699ffc6

View File

@@ -122,7 +122,7 @@ structure_setDevs($;$)
$def = "$hash->{NAME} structure $hash->{DEF}" if(!$def);
my $c = $hash->{".memberHash"};
my @a = split(/\s/, $def);
my @a = split(/\s+/, $def);
my $devname = shift(@a);
my $modname = shift(@a);
my $stype = shift(@a);