mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
fhem.pl: userReadings/regexi fix (Forum #27442)
git-svn-id: https://svn.fhem.de/fhem/trunk@6663 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5094e252a0
commit
49ef17cbfe
@ -2232,7 +2232,7 @@ CommandAttr($$)
|
|||||||
my $arg= $a[2];
|
my $arg= $a[2];
|
||||||
|
|
||||||
# matches myReading1[:trigger2] { codecode1 }
|
# 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*(.*))*$';
|
my $regexo= '^(' . $regexi . ')(,\s*(.*))*$';
|
||||||
|
|
||||||
#Log 1, "arg is $arg";
|
#Log 1, "arg is $arg";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user