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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Sherman
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Re: how do i filter against utf-8 headers
Fred Viles wrote:
>
> 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?}


? is indeed special in a regex -- it makes the preceeding token optional.

{\N=\?utf-8\?\N} should work, though.

- Marc