Re: [exim] Re: how do i filter against utf-8 headers

Pàgina inicial
Delete this message
Reply to this message
Autor: Fred Viles
Data:  
A: exim-users
Assumpte: Re: [exim] Re: how do i filter against utf-8 headers
On 26 May 2005 at 11:45, abc@??? wrote about
    "Re: [exim] Re: how do i filter agai":


|...
|            condition = ${if match\
|            {${lc:$rh_subject:}}\
|            {\N\=\?utf\-8\?\N}\


Just FYI in case you'd prefer a more readable expression:

None of the characters in this regular expression have special 
meaning ('-' is special only within []), so they don't need to be 
escaped.  Also, since the string doesn't include '$' or literal '\', 
it doesn't need to have expansion suppressed with \N.  So the match 
string could simply be written as:
     {=?utf-8?}


- Fred