fhem.pl: allow . in userReadings (Forum #27442)

git-svn-id: https://svn.fhem.de/fhem/trunk@6633 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-09-29 20:05:48 +00:00
parent de79e5185e
commit 7eb5d0b1d1

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";