mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 20:24:36 +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:
parent
0109d9968c
commit
4d99159afa
@ -271,7 +271,7 @@ sub cref_findInfo {
|
|||||||
}
|
}
|
||||||
if($found) {
|
if($found) {
|
||||||
$line[0]= (split("/",$line[0]))[1] if $line[0] =~ /\//;
|
$line[0]= (split("/",$line[0]))[1] if $line[0] =~ /\//;
|
||||||
if defined($line[2]) {
|
if (defined($line[2])) {
|
||||||
$line[2] =~ s/\s*http.*//i;
|
$line[2] =~ s/\s*http.*//i;
|
||||||
} else {
|
} else {
|
||||||
$line[2] = 'no info';
|
$line[2] = 'no info';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user