From: Jeff Squyres on Wednesday, May 25, 2005 1:44 PM > > On May 25, 2005, at 3:13 PM, Lombard, David N wrote: > > >> <filter linux_distro="redhat" linux_distro_ver="3"> > >> Allows only Red Hat version 3 > >> <filter linux_distro="redhat" linux_distro_ver="3*"> > >> Allows Red Hat version 3<anything>, such as 3u3, 3u4, 3u5 > >> <filter linux_distro="redhat" linux_distro_ver="3u[45]"> > >> Allows Red Hat version 3u4 and 3u5 > >> > >> It should be relatively straightforward to make perl do this kind of > >> regexp matching for us (perhaps some creative uses of eval, etc.). > > > > This is actually trivial to do. The real question is regex or glob? I > > vote for glob. Code to convert a glob to a regex is in update-rpms. > > I have no opinion here. I think my only real requirement is to be able > to do relatively arbitrary versioning -- such as RH EL 3 update 4 and > 5, but not updates 3 and 6 (etc.).
Ah, but your example expressed the implicit vote for glob ;-) -- David N. Lombard My comments represent my opinions, not those of Intel Corporation. ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
