From e4577583f1b13c15a09a9a95dd131e4f717d0f6d Mon Sep 17 00:00:00 2001 From: justme1968 Date: Thu, 23 Jan 2014 10:31:29 +0000 Subject: [PATCH] correct masking of - in regex git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4720 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/33_readingsGroup.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/33_readingsGroup.pm b/fhem/FHEM/33_readingsGroup.pm index 7ba5ac391..0283c03c6 100644 --- a/fhem/FHEM/33_readingsGroup.pm +++ b/fhem/FHEM/33_readingsGroup.pm @@ -361,7 +361,7 @@ readingsGroup_2html($) my $txt = $1; my $readings; $item++; - if( $txt =~ m/^{(.*)}(@[\w-|.*]+)?$/ ) { + if( $txt =~ m/^{(.*)}(@[\w\-|.*]+)?$/ ) { $txt = "{$1}"; $readings = $2; @@ -659,7 +659,7 @@ readingsGroup_Notify($$) my $txt = $1; my $readings; $item++; - if( $txt =~ m/^{(.*)}(@([\w-|.*]+))?$/ ) { + if( $txt =~ m/^{(.*)}(@([\w\-|.*]+))?$/ ) { $txt = "{$1}"; $readings = $3;