* Jakub Wilk <jwilk@debian.org>, 2011-07-17, 23:38:
+ elsif ($uri =~ m,^http://www\.debian\.org/doc/(packaging-manuals/?)copyright-format/(\d+.\d+)$,) {
The regex here should be of course: m,^http://www\.debian\.org/doc/(?:packaging-manuals/)?copyright-format/(\d+\.\d+)$, -- Jakub Wilk