mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
98_help.pm: change regex for module name
git-svn-id: https://svn.fhem.de/fhem/trunk@25013 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0907d76fad
commit
71ee98a812
@ -265,7 +265,8 @@ sub cref_findInfo {
|
|||||||
my ($err,@text) = FileRead({FileName => "$modPath/MAINTAINER.txt", ForceType => 'file'});
|
my ($err,@text) = FileRead({FileName => "$modPath/MAINTAINER.txt", ForceType => 'file'});
|
||||||
foreach my $l (@text) {
|
foreach my $l (@text) {
|
||||||
@line = split("[ \t][ \t]*", $l,3);
|
@line = split("[ \t][ \t]*", $l,3);
|
||||||
$found = ($l =~ m/.._$mod.pm/i);
|
$found = ($l =~ m/\d\d_$mod.pm/i);
|
||||||
|
# $found = ($l =~ m/.._$mod.pm/i);
|
||||||
# $found = ($l =~ m/_$mod/i);
|
# $found = ($l =~ m/_$mod/i);
|
||||||
last if ($found);
|
last if ($found);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user