RE: [exim] Filter on plussign

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Gray, Richard
Datum:  
To: Lasse B. Jensen, exim-users
CC: 
Betreff: RE: [exim] Filter on plussign
The plus character is a special character in regexps and should be
escaped

Try 'matches "\+{5,}"'

> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Lasse B. Jensen
> Sent: 18 April 2005 13:07
> To: exim-users@???
> Subject: [exim] Filter on plussign
>
> I got at header that looks like this
>
> X-SpamScore: +++++
>
> i want to match it in my exim filter but i cant get it to
> work, i wont match on the plussign
>
> my filter looks like this for matching on s
>
> # Exim filter
> if $header_x-spamscore: matches "s{5,}" then
>       finish
> endif

>
> Matches on 5 or more s's
>
> This works perfectly, but i cant get it to work with plussign ala
>
> # Exim filter
> if $header_x-spamscore: matches "+{5,}" then
>       finish
> endif

>
> Anyone got an idea?
> --
> Med venlig hilsen/Best regards
> Lasse Birnbaum Jensen
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>



---------------------------------------------------
This email from dns has been validated by dnsMSS Managed Email Security and is free from all known viruses.

For further information contact email-integrity@???