Re: [exim] strpos or s/// regexp in stringexpansion

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim users
Subject: Re: [exim] strpos or s/// regexp in stringexpansion
On 26/02/07, Marten Lehmann <lehmann@???> wrote:
> Hello,
>
> I would like to do on my own what
>
> local_part_suffix = +*
>
> does in a string expansion. I couldn't find an regexp-operator similar
> to perl's s///. I could also work with strpos and substr, but there is
> not strpos operator.
>
> Any ideas how else can I solve it?


I think you're looking for ${sg{<subject>}{<regex>}{<replacement>}}

Peter

--
Peter Bowyer
Email: peter@???