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

Debian Distribution Package Maintainer v1.0



brian white writes:
 > When I ran "debian" with the "scaninst" command (see "debian -help" for more
 > information) on my installation at home, the following packages were not
 > properly found because of names that don't match the reg-ex I used
 > ("package-name-[0-9].*\.deb") for matching package names.

You might consider the following regex pattern which I am using in a python
script under construction (emacs syntax):

 # Regex pattern describing a package release
 rx_pkg_rls = '\(.+\)-\([^-]+\)-\([0-9]+\)'

It accepts anything not containing a '-' as a version

Just my 0.02DM

--Siggy


Reply to: