2
0
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:
betateilchen 2019-01-19 14:52:06 +00:00
parent 106d569288
commit 2bdf8005c1

View File

@ -264,8 +264,8 @@ sub cref_findInfo {
my ($l,@line,$found,$text);
my ($err,@text) = FileRead({FileName => "$modPath/MAINTAINER.txt", ForceType => 'file'});
foreach $l (@text) {
@line = split("[ \t][ \t]*", $l,3);
$found = ($l =~ m/_$mod/i);
@line = split(" ", $l,3);
$found = ($l =~ m/^([0-9][0-9])_$mod\.pm$/i);
last if ($found);
}
if($found) {