Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50440240 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

scripts/documentation-file-ref-check: accept more wildcards at filenames



at MAINTAINERS, some filename paths use '?' and things like [7,9].
So, accept more wildcards, in order to avoid false-positives.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 40fc3eb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -43,7 +43,7 @@ while (<IN>) {
	# Skip this script
	# Skip this script
	next if ($f eq $scriptname);
	next if ($f eq $scriptname);


	if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*+-]*),) {
	if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*\[\]\?+-]*),) {
		my $prefix = $1;
		my $prefix = $1;
		my $ref = $2;
		my $ref = $2;
		my $base = $2;
		my $base = $2;