]> err.no Git - dpkg/commitdiff
Synchronize regexps to extract Cloes
authorWichert Akkerman <wakkerma@debian.org>
Thu, 19 Apr 2001 13:22:19 +0000 (13:22 +0000)
committerWichert Akkerman <wakkerma@debian.org>
Thu, 19 Apr 2001 13:22:19 +0000 (13:22 +0000)
scripts/cl-debian.pl

index 9731c2a780233ac4a28c8aad237a401232909fb7..f02899eba0d3bd1d4cbe27c82b2ac99d0f83b7b3 100755 (executable)
@@ -139,7 +139,7 @@ $f{'Changes'} =~ s/\n$//;
 $f{'Changes'} =~ s/^/\n/;
 
 while ($f{'Changes'} =~ /closes:\s*(?:bug)?\#?\s?\d+(?:,\s*(?:bug)?\#?\s?\d+)*/ig) {
-  push(@closes, $& =~ /\#\s?(\d+)/g);
+  push(@closes, $& =~ /\#?\s?(\d+)/g);
 }
 $f{'Closes'} = join(' ',sort { $a <=> $b} @closes);