2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 16:19:11 +00:00

33_readingsGroup.pm: fixed regex, forum http://forum.fhem.de/index.php/topic,38230.0/

git-svn-id: https://svn.fhem.de/fhem/trunk@8765 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-06-17 14:12:09 +00:00
parent ec35052787
commit bbb4f02191

View File

@ -164,7 +164,7 @@ readingsGroup_updateDevices($;$)
while ($regex
&& ( ($regex =~ m/^</ && $regex !~ m/>$/) #handle , in <...>
|| ($regex =~ m/@\{/ && $regex !~ m/}$/) #handle , in reading@{...}
|| ($regex =~ m/^$.*\(/ && $regex !~ m/\)/) ) #handle , in $<calc>(...)
|| ($regex =~ m/^\$.*\(/ && $regex !~ m/\)/) ) #handle , in $<calc>(...)
&& defined($list[++$i]) ) {
$regex .= ",". $list[$i];
}