[lintian] 01/01: c/fields.pm: Avoid an 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 3da4fafc29d1a522e1476bddee8d6886d484e511
Author: Niels Thykier <niels@thykier.net>
Date: Wed Aug 12 22:05:31 2015 +0200
c/fields.pm: Avoid an unused capture group
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/fields.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/fields.pm b/checks/fields.pm
index 09d3afc..71714fd 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -781,7 +781,7 @@ sub run {
tag 'package-depends-on-an-x-font-package',
"$field: $part_d_orig"
- if ( $field =~ /^(pre-)?depends$/
+ if ( $field =~ /^(?:pre-)?depends$/
&& $d_pkg =~ /^xfont.*/
&& $d_pkg ne 'xfonts-utils'
&& $d_pkg ne 'xfonts-encodings');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: