2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 08:11:44 +00:00

98_help.pm: change regex for urls

git-svn-id: https://svn.fhem.de/fhem/trunk@24895 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2021-08-30 11:32:25 +00:00
parent 0109d9968c
commit 4d99159afa

View File

@ -271,7 +271,7 @@ sub cref_findInfo {
}
if($found) {
$line[0]= (split("/",$line[0]))[1] if $line[0] =~ /\//;
if defined($line[2]) {
if (defined($line[2])) {
$line[2] =~ s/\s*http.*//i;
} else {
$line[2] = 'no info';