Re: [exim] Wildlsearch - case-dependent?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: John Horne
Υ/ο: Exim users
Αντικείμενο: Re: [exim] Wildlsearch - case-dependent?
On Wed, 26 Jul 2006, John Horne wrote:

> Anyone know if there is a way of making (n)wildlsearch lookups
> case-dependent? I'm using nwildlsearch with regex keys that begin with a
> caret (^), but in some instances don't want the keys treated caselessly.


(?-i) in the pattern will turn on case-dependence. However, the keys
themselves will typically be lowercased, depending on the circumstances
in which you are doing the lookup. For example, $local_part is often
lower cased unless you set caseful_local_part.


-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book