On Thu, May 19, 2016 at 10:20 PM, Fabiano Fidêncio <fidencio@xxxxxxxxxx> wrote: > The volume-id expression should be able to match things like: 7.0.0, > 7.1.0, 7.10.0. You mean it should be able to handle micro version? > [ffidenci@cat libosinfo]$ python > Python 2.7.11 (default, Feb 5 2016, 01:53:41) > [GCC 6.0.0 20160201 (Red Hat 6.0.0-0.9)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import re >>>> re.match(r'7.\d\d?.\d', '7.0.0') > <_sre.SRE_Match object at 0x7f92e9fa25e0> >>>> re.match(r'7.\d\d?.\d', '7.1.0') > <_sre.SRE_Match object at 0x7f92e9fa2578> >>>> re.match(r'7.\d\d?.\d', '7.10.0') > <_sre.SRE_Match object at 0x7f92e9fa2578> > > Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> > --- > data/os/debian.org/debian-7.xml.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/data/os/debian.org/debian-7.xml.in b/data/os/debian.org/debian-7.xml.in > index 0c89bc7..2f71b09 100644 > --- a/data/os/debian.org/debian-7.xml.in > +++ b/data/os/debian.org/debian-7.xml.in > @@ -39,7 +39,7 @@ > <media arch="x86_64"> > <url>http://cdimage.debian.org/mirror/cdimage/archive/7.9.0/amd64/iso-dvd/debian-7.9.0-amd64-DVD-1.iso</url> > <iso> > - <volume-id>Debian 7.\d.\d amd64 1</volume-id> > + <volume-id>Debian 7.\d\d?.\d amd64 1</volume-id> > </iso> > <kernel>install.amd/vmlinuz</kernel> > <initrd>install.amd/initrd.gz</initrd> > -- > 2.7.4 > > _______________________________________________ > Libosinfo mailing list > Libosinfo@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/libosinfo -- Regards, Zeeshan Ali (Khattak) _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo