From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8mGA-00013f-Gc for qemu-devel@nongnu.org; Wed, 18 Apr 2018 08:32:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8mG7-0003qC-Em for qemu-devel@nongnu.org; Wed, 18 Apr 2018 08:32:26 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:34648 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8mG7-0003pr-A2 for qemu-devel@nongnu.org; Wed, 18 Apr 2018 08:32:23 -0400 Date: Wed, 18 Apr 2018 13:32:12 +0100 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= Message-ID: <20180418123212.GK27579@redhat.com> Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= References: <20180417224054.26363-1-lersek@redhat.com> <20180418060243.iafg4wj5gwsruop5@sirius.home.kraxel.org> <20180418090457.dqg5gxnzobdofkao@sirius.home.kraxel.org> <20180418115734.GG27579@redhat.com> <20180418123002.7hiu2hr6rdxvab5u@sirius.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180418123002.7hiu2hr6rdxvab5u@sirius.home.kraxel.org> Subject: Re: [Qemu-devel] [qemu RFC v2] qapi: add "firmware.json" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Laszlo Ersek , qemu-devel@nongnu.org, libvir-list@redhat.com, Alexander Graf , Ard Biesheuvel , David Gibson , Eric Blake , Gary Ching-Pang Lin , Kashyap Chamarthy , Markus Armbruster , Michael Roth , Michal Privoznik , Paolo Bonzini , Peter Krempa , Peter Maydell , Thomas Huth On Wed, Apr 18, 2018 at 02:30:02PM +0200, Gerd Hoffmann wrote: > Hi, > > > So now the question is should this string be declared to be > > glob format, or regex format. Regex is more flexible, but > > regex syntax is ill-defined because every regex engine is > > slightly different. > > I'd go for glob. It's good enough for the version number and > most likely we don't need anything else. > > And the machine types are a list, so there is still the option > to just have multiple entries in case it turns out we need > something glob can't cover with a single entry. Ok, works for me. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|