<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <pre class="message">Package: devscripts
Severity: wishlist
User: <a class="moz-txt-link-abbreviated" href="mailto:devscripts@packages.debian.org">devscripts@packages.debian.org</a>
Usertags: uscan


I have the following sample download URL

<a class="moz-txt-link-freetext" href="ftp://andromeda.star.bris.ac.uk/pub/star/stilts/v3.0-9/stilts_src.zip">ftp://andromeda.star.bris.ac.uk/pub/star/stilts/v3.0-9/stilts_src.zip</a>

Corresponding Debian version number should be 3.0.9.

There is currently no way to get this downloaded via uscan. I tried

version=3
options="uversionmangle=s/\-/./,filenamemangle=s/\/$/.zip/" \
<a class="moz-txt-link-freetext" href="ftp://andromeda.star.bris.ac.uk/pub/star/stilts/v(">ftp://andromeda.star.bris.ac.uk/pub/star/stilts/v(</a>[\d\.\-]+)/ stilts_src.zip

but it doesn't work; basically it adjusts upstream version to be 1:

uscan info: Newest upstream tarball version selected for download (uversionmangled): 1

</pre>
  </body>
</html>