Re: [exim] How to spell a regexp with a space in an Exim fil…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jeremy Harris
Fecha:  
A: exim-users
Asunto: Re: [exim] How to spell a regexp with a space in an Exim filter?
On 19/01/2019 18:36, Ian Zimmerman via Exim-users wrote:
> Let's say I am trying to match any of these possibilities in the header,
> with _one_ match condition:
>
>
> X-Loosely-Foobar: Foobar
>
> or
>
> X-Loosely-Foobar: Foo bar
>
> or
>
> X-Loosely-Foobar: Foo Bar


The docs give examples which appear to cover your needs:
quotes on the outside and you don't appear to need \N
(but you'd have to write it with doubled \ and within
the quotes, if you did need it eg. to manage $-signs).

I'm looking at


http://exim.org/exim-html-current/doc/html/spec_html/filter_ch-exim_filter_files.html

section 22. Perhaps you didn't find that?

--
Cheers,
Jeremy