[lintian] 01/01: c/files.pm: Fix regex
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 660b0b62be235dd864b896061a060df5a7868689
Author: Niels Thykier <niels@thykier.net>
Date: Sat May 17 15:16:28 2014 +0200
c/files.pm: Fix regex
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/files.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/files.pm b/checks/files.pm
index da394ca..f860188 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -74,7 +74,7 @@ my $VCS_FILES = Lintian::Data->new(
sub {
my $regexp = $_[0];
$regexp =~ s/\${COMPRESS_EXT}/$COMPRESS_FILE_EXTENSIONS_OR_ALL/g;
- return qr/(:?$regexp)/x;
+ return qr/(?:$regexp)/x;
});
# an OR (|) regex of all vcs files
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: