mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
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:
parent
d3550155f7
commit
d6c9d2b1af
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user