Re: [Exim] Expansion of wildlsearch keys: opinions sought

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Andreas Metzler
日付:  
To: exim-users
題目: Re: [Exim] Expansion of wildlsearch keys: opinions sought
On Thu, Sep 11, 2003 at 12:10:43PM +0100, Philip Hazel wrote:
> The "wildlsearch" lookup, which was introduced in release 4.11,
> currently expands its keys.

[...]
> I've had a complaint about this, because it is different and unexpected,
> (wish list #184) so I've just looked at the code. It turns out that a
> single character change will turn this expansion off.
>
> I do not know why I didn't notice this at the time, because I'm sure I
> would have preferred to implement non-expanded keys.


> Anyway, the question is, should I just change wildlsearch so that keys
> are no longer expanded, or should I introduce a new kind of lookup?


> One problem is that I carefully documented the current state, and
> recommended the use of \N for regular expression keys. Anybody who has
> followed that recommendation will be in trouble if the behaviour is
> changed. It is now 9 months since 4.11 was released, so many people may
> be relying on this.


> I think I'm going to have to introduce a new lookup name. My current
> best proposal is "patlsearch" (for "pattern").


> What do people think about this?


I agree with you, changing the semantics of "wildlsearch" sounds like
a very bad idea.
           cu andreas