Re: [exim] Case Sensitivity problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jakob Hirsch
Dátum:  
Címzett: 'Exim-users'
Tárgy: Re: [exim] Case Sensitivity problem
Marc Perkel wrote:

> match{$h_Received:}{$sender_address_domain}{true}{false}}
> How do I make this case insensitive?


RTFM, though hidden in doc/pcrepattern.txt:
{(?i)$sender_address_domain}

Or do lc on both strings.

btw, $sender_address_domain is not a regexp, so you should probably
quote it in some way.