From: Mauro Carvalho Chehab Date: Thu, 14 Jun 2018 10:48:22 +0000 (-0300) Subject: scripts/documentation-file-ref-check: accept more wildcards at filenames X-Git-Tag: v5.15~8580^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50440240021ca3cefe376fa11a7ae085734f165a;p=platform%2Fkernel%2Flinux-starfive.git 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: Mauro Carvalho Chehab Acked-by: Jonathan Corbet --- diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check index 9e7ae14..9d5e21b 100755 --- a/scripts/documentation-file-ref-check +++ b/scripts/documentation-file-ref-check @@ -43,7 +43,7 @@ while () { # Skip this script 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 $ref = $2; my $base = $2;