[sr-dev] RegExp RURI matching broken?!
Andrei Pelinescu-Onciul
andrei at iptel.org
Fri Jul 17 17:22:18 CEST 2009
On Jul 17, 2009 at 15:07, Nils Ohlmeier <nils at iptel.org> wrote:
> Hi,
>
> when I try to use a regexp matching for the RURI like this (code is git
> master):
>
> if (uri =~ "sip:\+[0-9]+ at .*") {
>
> and then send a request with an RURI like this:
>
> sip:+123456789 at 127.0.0.1
>
> I get the following error message:
>
> 2(85781) : <core> [route.c:1190]: BUG: comp_str: Bad operator type 1,
> for ~=
>
> and the if statement is obviously not executed?!
>
> Ideas, comments and even more bug fixes are welcome :-)
Thansk, should be fixed now (wrong order of fixup & optimizations).
Andrei
More information about the sr-dev
mailing list