On Wed, Jun 10, 2009 at 12:50:33PM +1000, Felipe Sateler wrote:
> Well, - in upstream version nambers should be reasonably common in -rc -alpha 
> or such. And your original regex allows it in orig but not in plain upstream.
So iff we add '-' we'd need something like:

        ^[a-zA-Z\d\.\+\-]+-(?P<version>[0-9][a-zA-Z\d\.\-\:]+)\.tar\.(gz|bz2)
                                       ^^^^^
for the non orig.tar.gz case. Otherwise I don't see how we can make
sure we're at the start of the verison number (in the case of the
orig.tar.gz the '_' is the delimiter). Do you agree?
 -- Guido



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to