2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

fhem.pl: RpleaceSetMagic fix by Johannes (Forum #52552)

git-svn-id: https://svn.fhem.de/fhem/trunk@11304 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-04-24 16:49:10 +00:00
parent 829ecd3763
commit cd90d78c1b

View File

@ -1549,7 +1549,7 @@ ReplaceSetMagic($$@) # Forum #38276
$x eq "" ? "[$1:$2$3]" : $x
}/egi;
$a =~ s/{\((.*)\)}/AnalyzePerlCommand($hash->{CL},$1,1)/egs;
$a =~ s/{\((.*?)\)}/AnalyzePerlCommand($hash->{CL},$1,1)/egs;
return (undef, @_) if($oa eq $a);
return (undef, split(/ /, $a, $nsplit));