FileLog: syntax error fixed
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5411 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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($@);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user