mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 07:24:21 +00:00
help.pm: minor improvements
git-svn-id: https://svn.fhem.de/fhem/trunk@18337 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
106d569288
commit
2bdf8005c1
@ -264,8 +264,8 @@ sub cref_findInfo {
|
|||||||
my ($l,@line,$found,$text);
|
my ($l,@line,$found,$text);
|
||||||
my ($err,@text) = FileRead({FileName => "$modPath/MAINTAINER.txt", ForceType => 'file'});
|
my ($err,@text) = FileRead({FileName => "$modPath/MAINTAINER.txt", ForceType => 'file'});
|
||||||
foreach $l (@text) {
|
foreach $l (@text) {
|
||||||
@line = split("[ \t][ \t]*", $l,3);
|
@line = split(" ", $l,3);
|
||||||
$found = ($l =~ m/_$mod/i);
|
$found = ($l =~ m/^([0-9][0-9])_$mod\.pm$/i);
|
||||||
last if ($found);
|
last if ($found);
|
||||||
}
|
}
|
||||||
if($found) {
|
if($found) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user