Re: [EXIM] 2.054: ^regexp$

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Vadim Vygonets
Υ/ο: exim-users
Αντικείμενο: Re: [EXIM] 2.054: ^regexp$
On Thu, 26 Nov 1998, Vadim Vygonets wrote:

> local_parts = ^[^-_.].*$


> closedstud director: failed to expand "^[^-_.].*$" $ not followed by letter, digit, or {
>
> The solution was to put \ (backslash) before $ (dollar). Why did
> the behaviour change?


What changed was that local_parts and domains are now expanded, whereas
they were not before. This allows you to do things like

local_parts = lsearch;/some/file/$domain

I will create a README-UPDATE... file pointing out this pitfall. Sorry I
didn't think about it before.

Many thanks for all your testing. It is most helpful.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***