[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: watch files



On Dec 21, 2007 1:55 PM, gregor herrmann <gregor+debian@comodo.priv.at> wrote:

> http://search.cpan.org/dist/Module-Name/ .*/Module-Name-([[:digit:]].*)\.tar\.gz

> * Is the current approach to create the version regex sane?

I'd say:

(v?\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip|rar)

To match different types of archives, and to comply with the new perl
versioning scheme. This is almost exactly what we're using for the
qareport scripts.

-- 
Martín Ferrari


Reply to: