Actually, prepending a regex with "(?-i)" is easy. Thanks, that's what I was looking for. I'd consider writing a case-sensitivity patch with an -s|--case-sensitive switch since that couldn't be too hard, but unfortunately I will have no free time for the next several months.
Regards, Tom -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ciaran McCreesh Sent: Thursday, January 06, 2011 3:02 AM To: [email protected] Subject: Re: [paludis-user] case-sensitive cave search On Tue, 4 Jan 2011 12:08:44 -0500 "Tom" <[email protected]> wrote: > Is there a way to force the pattern in cave search to be > case-sensitive? This is very useful in some cases. I checked paludis > documentation, but did not see a "case sensitivity" option. There's no 'easy' way, although it wouldn't be hard to implement, and I'd accept a patch for such a feature. You can do it using --type regex, though, with a pattern like (?-i)foo . -- Ciaran McCreesh _______________________________________________ paludis-user mailing list [email protected] http://lists.pioto.org/mailman/listinfo/paludis-user
