2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

allow - in command names

git-svn-id: https://svn.fhem.de/fhem/trunk@5993 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-05-28 14:18:59 +00:00
parent d1569c1530
commit 9b85c383ae

View File

@ -438,7 +438,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;
@ -561,7 +561,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;