[lintian] 01/01: Do not capture group if possible
This is an automated email from the git hooks/post-receive script.
broucaries-guest pushed a commit to branch master
in repository lintian.
commit 19a847590ce59bd6a885508a4bcbe662d4db39fd
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date: Tue Jul 15 18:31:55 2014 +0200
Do not capture group if possible
Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
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 e059560..6a0f82c 100644
--- a/checks/source-copyright.pm
+++ b/checks/source-copyright.pm
@@ -143,7 +143,7 @@ sub _check_dep5_copyright {
if (
$contents !~ m{
- (^ | \n)
+ (?:^ | \n)
(?i: format(:|[-\s]spec) )
(?: . | \n\s+ )*
(?: /dep[5s]?\b | \bDEP-?5\b
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: