[lintian] 01/01: L::Tags: Disable 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 a77130caa0ca1f6dd46db664efea09f243c3139a
Author: Niels Thykier <niels@thykier.net>
Date: Wed Jan 20 22:47:52 2016 +0000
L::Tags: Disable capture group
Signed-off-by: Niels Thykier <niels@thykier.net>
---
lib/Lintian/Tags.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Lintian/Tags.pm b/lib/Lintian/Tags.pm
index 8f47284..b417556 100644
--- a/lib/Lintian/Tags.pm
+++ b/lib/Lintian/Tags.pm
@@ -539,7 +539,7 @@ sub file_overrides {
# parsing overrides is a bit ambiguous (see #699628)
if (
$override =~ m/\A (?: # start optional part
- (\Q$info->{package}\E)? # optionally starts with package name -> $1
+ (?:\Q$info->{package}\E)? # optionally starts with package name -> $1
(?: \s*+ \[([^\]]+?)\])? # optionally followed by an [arch-list] (like in B-D) -> $2
(?:\s*+ ([a-z]+) \s*+ )? # optionally followed by the type -> $3
:\s++)? # end optional part
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: