From 83ecc7cbdd3b48d23e387f147d3e3f2a09709905 Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Fri, 6 Mar 2015 10:16:46 +0000 Subject: [PATCH] 33_readingsGroup.pm: allow / in readingNames for webCmd check git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8158 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/33_readingsGroup.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FHEM/33_readingsGroup.pm b/FHEM/33_readingsGroup.pm index 3114933c5..69cd9b141 100644 --- a/FHEM/33_readingsGroup.pm +++ b/FHEM/33_readingsGroup.pm @@ -608,7 +608,7 @@ readingsGroup_2html($;$) my $webCmdFn = 0; my $cmd = lookup2($hash->{helper}{commands},$name,$d,$txt); - if( $cmd && $cmd =~ m/^([\w.-]*):(\S*)?(\s\S*)?$/ ) { + if( $cmd && $cmd =~ m/^([\w\/.-]*):(\S*)?(\s\S*)?$/ ) { my $set = $1; my $values = $2; $set .= $3 if( $3 ); @@ -770,7 +770,7 @@ readingsGroup_2html($;$) if( !$devStateIcon ) { $cmd = lookup2($hash->{helper}{commands},$name,$n,$v) if( !$devStateIcon ); - if( $cmd && $cmd =~ m/^([\w.-]*):(\S*)?(\s\S*)?$/ ) { + if( $cmd && $cmd =~ m/^([\w\/.-]*):(\S*)?(\s\S*)?$/ ) { my $set = $1; my $values = $2; $set .= $3 if( $3 );