fhem.pl: userReadings/regexi fix (Forum #27442)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6663 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-10-03 10:16:50 +00:00
parent 07ccd4ad4b
commit 1ab183db3e

View File

@@ -2232,7 +2232,7 @@ CommandAttr($$)
my $arg= $a[2];
# matches myReading1[:trigger2] { codecode1 }
my $regexi= '\s*([\w-\.]+)(:\S*)?\s+((\w+)\s+)?({.*?})\s*';
my $regexi= '\s*([\w.-]+)(:\S*)?\s+((\w+)\s+)?({.*?})\s*';
my $regexo= '^(' . $regexi . ')(,\s*(.*))*$';
#Log 1, "arg is $arg";