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:
rudolfkoenig
2014-04-02 06:47:27 +00:00
parent 3f58410440
commit 81131a739e

View File

@@ -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($@);