Re: Exim Filter

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dom Mitchell
Dátum:  
Címzett: Tim Patterson
CC: exim-users
Tárgy: Re: Exim Filter
On 14 October 1997, Tim Patterson proclaimed:
> Hello,
>
> I am unable to get my filter to reject 12345@???
> I understand that filter From: is not of much use, but
> I am just trying to resolve the syntax.
>
> Please send me a line of code that will filter all
> [numeric only]@domain.com in an *exim filter*
>
> I have tried
> ^[0-9]+@*\.com
> ^[0-9]+@*\\.com$


You are misunderstanding regular expressions. You should try this one
instead:

^[0-9]+@.*\.com$

-Dom

--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/