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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Bowyer
Dátum:  
Címzett: exim users
Tárgy: 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@???