mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-25 03:39:21 +00:00
fixed command parsing regex
git-svn-id: https://svn.fhem.de/fhem/trunk@5975 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2888758e5a
commit
8cbc5a0442
@ -431,7 +431,7 @@ readingsGroup_2html($)
|
|||||||
} else {
|
} else {
|
||||||
my $cmd = lookup2($commands,$name,$d,$txt);
|
my $cmd = lookup2($commands,$name,$d,$txt);
|
||||||
|
|
||||||
if( $cmd =~ m/^(\w.*):(\S.*)?$/ ) {
|
if( $cmd =~ m/^(\w*):(\S*)?$/ ) {
|
||||||
my $set = $1;
|
my $set = $1;
|
||||||
my $values = $2;
|
my $values = $2;
|
||||||
|
|
||||||
@ -554,7 +554,7 @@ readingsGroup_2html($)
|
|||||||
if( !$devStateIcon ) {
|
if( !$devStateIcon ) {
|
||||||
$cmd = lookup2($commands,$name,$n,$v) if( !$devStateIcon );
|
$cmd = lookup2($commands,$name,$n,$v) if( !$devStateIcon );
|
||||||
|
|
||||||
if( $cmd =~ m/^(\w.*):(\S.*)?$/ ) {
|
if( $cmd =~ m/^(\w*):(\S*)?$/ ) {
|
||||||
my $set = $1;
|
my $set = $1;
|
||||||
my $values = $2;
|
my $values = $2;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user