Re: [exim] Perhaps stupid Question regarding Filter

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Tony Finch
Data:  
Para: ml
CC: exim-users
Assunto: Re: [exim] Perhaps stupid Question regarding Filter
On Fri, 5 Aug 2005 ml@??? wrote:
>
> However, the problem is, that there may be one or more whitespaces
> (Space, Tab) between "action:" and "DELETE".
>
> And there may or may not be one or more whitespaces before or after
> "DELETE".


Use a regex match: $message_body matches "action:\\s*DELETE"

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}