On Dec 19, 2003, at 4:31 PM, Benjamin Reed wrote:
Remi Mommsen wrote:
If I have a choice of
system-xfree86
xfree86
xfree86-base
and my regex excludes system-xfree86 I end up with a matchcount of 2. Thus nothing is done and I end up with all three choices. Thus I have to trim the candidates list to include only those dnames which match. Any objections if I change the code accordingly?
then set your regex to:
(^xfree86-(base|rootless)$)
;)
Which has to be done for all system packages to explicitly include valid alternatives. Can be done, but error prone as you sure miss one.
Maybe reorder them instead? If it can't find an exact match I'd say it's best not to remove choices.
Agreed, I reorder them, so that the matched ones are at the top.
Cheers, Remi
--------------------------------------------------------------------- Truth decays into beauty, while beauty soon becomes merely charm. Charm ends up as strangeness, and even that doesn't last, but up and down are forever. (Anonymous)
********************************************************************* Remigius K. Mommsen e-mail: [EMAIL PROTECTED] University of California, Irvine URL: http://cern.ch/mommsen c/o SLAC voice: ++1 (650) 926-3595 2575 Sand Hill Road #35 fax: ++1 (650) 926-3882 Menlo Park, CA 94025, US home: ++1 (650) 233-9041 *********************************************************************
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel