Re: [Exim] Using Expansion Variables in Regular Expressions

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: James P. Roberts
CC: exim-users
Subject: Re: [Exim] Using Expansion Variables in Regular Expressions
On Mon, 29 Dec 2003, James P. Roberts wrote:

> I am trying to construct a regular expression, which is to include, as part of
> the expression, the contents of an expansion variable ($sender_host_name),
> with appropriate escaping of periods in the hostname.
>
> My first attempt is:
>
> {\N<partial regex>\N${rxquote:$sender_host_name}}
>
> Any advice appreciated.


Looks OK to me. Does it not work?

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book