fhem.pl: ReplaceSetMagic regexp changes (Forum #38276)

git-svn-id: https://svn.fhem.de/fhem/trunk@13934 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2017-04-08 13:19:04 +00:00
parent b7b9ec0989
commit 90c9d8db90

View File

@@ -1682,8 +1682,8 @@ ReplaceSetMagic($$@) # Forum #38276
return $val;
}
$a =~ s/(\[([ari]:)?([a-z0-9._]+):([a-z0-9._-]+)(:(t|sec|i|d|r|r\d))?\])/
rsmVal($1,$2,$3,$4,$5)/egi;
$a =~s/(\[([ari]:)?([a-zA-Z\d._]+):([a-zA-Z\d._\/-]+)(:(t|sec|i|d|r|r\d))?\])/
rsmVal($1,$2,$3,$4,$5)/eg;
$evalSpecials->{'%DEV'} = $hash->{NAME};
$a =~ s/{\((.*?)\)}/AnalyzePerlCommand($hash->{CL},$1,1)/egs;