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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter Bowyer
Fecha:  
A: exim users
Asunto: 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@???