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

Góra strony
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
Dla: exim users
Temat: 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@???