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}) {


_______________________________________________
Secure-testing-commits mailing list
Secure-testing-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/secure-testing-commits

Reply via email to