2010/7/1 Pete Kelly <[email protected]>:

> if (pcre_match_group("$rU", 2)) {...
>
> However, if you call it like this you get this error when starting opensips:
>
> "numbers used as parameters - they should be quoted"
>
> To fix this you need to put both parameters in quotes, e.g.:
>
> if (pcre_match_group("$rU", "2")) {...
>
> This had me confused for a while - it happens on trunk and on the 1.6 branch.

You are totally right, it's a bug in the doc. I've fixed it right now
in the trunk version.

-- 
Iñaki Baz Castillo
<[email protected]>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to