Autor: gARetH baBB Datum: To: exim-users Betreff: Re: [Exim] wildlsearch
On Tue, 22 Jul 2003, Philip Hazel wrote:
> The most efficient way to write a regex that means "ends with X" is
>
> ^.*(?<=X)
>
> provided that each alternative in X is of fixed length (as yours is).
That was just an example - the full list does get a bit more complicated
and variable, but point taken, I will bear it in mind.
> Note there is no need for a trailing $.
Ah, in my mind I was erroneously presuming a .* on the end (procmail like)
- plus I like to be unambiguous where possible.
> > How do I do this so that my wildlsearch check is exactly the same as what
> > is used for senders = ?
>
> I do not think there is any way to do this at present. I have put an
> item on the Wish List.