]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/Control.pm
* Fix the Debbugs::Control bug regex
[debbugs.git] / Debbugs / Control.pm
index fe25f6fe0ef1848c019c9b49fd9b5b5a2a1c0821..859d5e8d2067f87a7c7b3f3bed21038df65cfb72 100644 (file)
@@ -161,7 +161,7 @@ This routine archives a bug
 sub bug_archive {
      my %param = validate_with(params => \@_,
                               spec   => {bug => {type   => SCALAR,
-                                                 regex  => qr/^\d+/,
+                                                 regex  => qr/^\d+$/,
                                                 },
                                          check_archiveable => {type => BOOLEAN,
                                                                default => 1,