El jueves 11 de junio, Guido Günther escribió:
> 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?

Hmm, good point. I think it is reasonable to expect version numbers to start 
with a number. BTW, policy says version numbers must start with a digit.

Saludos,
Felipe Sateler

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to