[Secure-testing-commits] r40733 - bin

Salvatore Bonaccorso carnil at moszumanska.debian.org
Sun Apr 3 15:41:06 UTC 2016


Author: carnil
Date: 2016-04-03 15:41:05 +0000 (Sun, 03 Apr 2016)
New Revision: 40733

Modified:
   bin/check-new-issues
Log:
Update regexp to match allowd source package names as per policy 5.6.1

Modified: bin/check-new-issues
===================================================================
--- bin/check-new-issues	2016-04-03 15:17:31 UTC (rev 40732)
+++ bin/check-new-issues	2016-04-03 15:41:05 UTC (rev 40733)
@@ -450,7 +450,7 @@
 	
 	my ($code, $pkg);
 	while (my $line = <$fh>) {
-		if ($line =~ /^([-\w]+)/) {
+		if ($line =~ /^([\w][\w+-.]+)/) {
 			$code = lc($1);
 			$pkg  = undef;
 			if (exists $embed_code->{$code}) {




More information about the Secure-testing-commits mailing list