[lintian] 02/02: c/source-copyright: Remove unused capture group
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 59df1d7121d642b0058907a7ca89dc1b0d19d69a
Author: Niels Thykier <niels@thykier.net>
Date: Tue Jul 15 22:07:49 2014 +0200
c/source-copyright: Remove unused capture group
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/source-copyright.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/source-copyright.pm b/checks/source-copyright.pm
index 6a0f82c..2d6297f 100644
--- a/checks/source-copyright.pm
+++ b/checks/source-copyright.pm
@@ -144,7 +144,7 @@ sub _check_dep5_copyright {
if (
$contents !~ m{
(?:^ | \n)
- (?i: format(:|[-\s]spec) )
+ (?i: format(?: [:] |[-\s]spec) )
(?: . | \n\s+ )*
(?: /dep[5s]?\b | \bDEP-?5\b
| [Mm]achine-readable\s(?:license|copyright)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: