[OpenSER-Users] variables in regexp

Iñaki Baz Castillo ibc at in.ilimit.es
Fri May 30 14:43:32 CEST 2008


El Friday 30 May 2008 14:01:49 Yazid Hadj Said escribió:
> Hi,
> please I want to know: If and How I can use variables in "regexp" .
> example:
> avp_subst("avp(s:var1)/$avp(s:var2)","/(.*)$avp(s:var3)(.*)/\1/")
> In this example, simply the "$avp(s:var3)" string is matched, not the
> $avp(s:var3)'s content.
>
> I am very need this function.


Please, use the **already** open thread instead of generating a new mail for 
the same subject.



-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the sr-users mailing list