]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - scripts/documentation-file-ref-check
scripts/documentation-file-ref-check: accept more wildcards at filenames
[linux.git] / scripts / documentation-file-ref-check
index 9e7ae14080aa782cc03c92dc0b39ff46219a27e5..9d5e21b10346bf65d74ac655458d56a0bdbff6fa 100755 (executable)
@@ -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;