mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
FileLog: syntax error fixed
git-svn-id: https://svn.fhem.de/fhem/trunk@5411 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
35c31b4e2d
commit
c929c77a7d
@ -57,7 +57,7 @@ FileLog_Define($@)
|
||||
|
||||
return "wrong syntax: define <name> FileLog filename regexp" if(int(@a) != 4);
|
||||
|
||||
return "Bad regexp: starting with *" if($re =~ m/^\*/);
|
||||
return "Bad regexp: starting with *" if($a[3] =~ m/^\*/);
|
||||
eval { "Hallo" =~ m/^$a[3]$/ };
|
||||
return "Bad regexp: $@" if($@);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user