Re: [Exim] Using Expansion Variables in Regular Expressions

Etusivu
Poista viesti
Vastaa
Lähettäjä: James P. Roberts
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] Using Expansion Variables in Regular Expressions
----- Original Message -----
From: "Philip Hazel" <ph10@???>
> 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?
>


Actually, it does. I discovered that $sender_host_name was empty! Arrrgh.

Thanks.

Jim Roberts