2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-19 12:46:03 +00:00

98_help.pm: change regex for urls

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

View File

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