mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-06 12:18:46 +00:00
fhemweb.pl: devspec2array "error" for multiple room values: room=r1 didnt match
git-svn-id: https://svn.fhem.de/fhem/trunk@4565 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
799e04b3d0
commit
7730dc2fda
@ -921,8 +921,8 @@ devspec2array($)
|
||||
}
|
||||
next if(!defined($val));
|
||||
eval { # a bad regexp is deadly
|
||||
if(($op eq "=" && $val =~ m/^$re$/) ||
|
||||
($op eq "!=" && $val !~ m/^$re$/)) {
|
||||
if(($op eq "=" && $val =~ m/\b$re\b/) ||
|
||||
($op eq "!=" && $val !~ m/\b$re\b/)) {
|
||||
push @res, $d
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user