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

Top Pagina
Delete this message
Reply to this message
Auteur: Sheldon Hearn
Datum:  
Aan: exim-users
CC: John Horne
Onderwerp: 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.