fixed command parsing regex

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5975 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-05-26 12:59:35 +00:00
parent 42beed0bac
commit 4a1c58bcb3

View File

@@ -431,7 +431,7 @@ readingsGroup_2html($)
} else {
my $cmd = lookup2($commands,$name,$d,$txt);
if( $cmd =~ m/^(\w.*):(\S.*)?$/ ) {
if( $cmd =~ m/^(\w*):(\S*)?$/ ) {
my $set = $1;
my $values = $2;
@@ -554,7 +554,7 @@ readingsGroup_2html($)
if( !$devStateIcon ) {
$cmd = lookup2($commands,$name,$n,$v) if( !$devStateIcon );
if( $cmd =~ m/^(\w.*):(\S.*)?$/ ) {
if( $cmd =~ m/^(\w*):(\S*)?$/ ) {
my $set = $1;
my $values = $2;