Re: [Exim] Grouping allowed in system filter pcre?

Página Inicial
Delete this message
Reply to this message
Autor: Sheldon Hearn
Data:  
Para: exim-users
CC: John Horne
Assunto: Re: [Exim] Grouping allowed in system filter pcre?
On (2002/08/16 12:28), Philip Hazel wrote:

> No, it is not a bug. It is documented:
>
> ---------------------------------------------------------------------
> There are two ways in which a data value can be input:
>
>  .   If the text contains no white space then it can be typed verbatim.
>      However, if it is part of a condition, it must also be free of round
>      brackets (parentheses), as these are used for grouping in conditions.

>
>  .   Otherwise it must be enclosed in double quotation marks. In this case,
>      the character \ (backslash) is treated as an 'escape character' ....
> ---------------------------------------------------------------------

>
> .. er, and you don't have to escape dollar signs just because you put
> the string in quotes. Just the backslashes.


Ah, so it's actually

| if $recipients matches "\\\\b(sheldonh|root)@starjuice\\\\.net\\\\b"


That works, thanks.

Ciao,
Sheldon.