90_at.pm: avoid perl 5.26 Warning in regexp (Forum #44862)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10048 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-11-29 14:51:40 +00:00
parent 1bb7b2bd7e
commit c35d28f223

View File

@@ -179,7 +179,7 @@ at_Exec($)
$data{AT_TRIGGERTIME} = $hash->{TRIGGERTIME} if($def =~ m/^\+/);
if($count) {
$def =~ s/{\d+}/{$count}/ if($def =~ m/^\+?\*{\d+}/); # Replace the count
$def =~ s/\{\d+\}/{$count}/ if($def =~ m/^\+?\*\{\d+\}/); # Replace count
Log3 $name, 5, "redefine at command $name as $def";
$data{AT_RECOMPUTE} = 1; # Tell sunrise compute the next day