diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-06-14 07:48:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-06-15 18:10:01 -0300 |
commit | 50440240021ca3cefe376fa11a7ae085734f165a (patch) | |
tree | 8d9b3169ca289b84d253db39f0e6d7f0717f0e05 /scripts/documentation-file-ref-check | |
parent | 40fc3eb055cb39429dc16a94e825a5598befb9a7 (diff) | |
download | lwn-50440240021ca3cefe376fa11a7ae085734f165a.tar.gz lwn-50440240021ca3cefe376fa11a7ae085734f165a.zip |
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 <mchehab+samsung@kernel.org>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/documentation-file-ref-check')
-rwxr-xr-x | scripts/documentation-file-ref-check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check index 9e7ae14080aa..9d5e21b10346 100755 --- a/scripts/documentation-file-ref-check +++ b/scripts/documentation-file-ref-check @@ -43,7 +43,7 @@ while (<IN>) { # 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; |