[OpenSIPS-Users] Syntax error in opensips-cli

Liviu Chircu liviu at opensips.org
Fri Feb 6 10:53:45 UTC 2026


Hi Karsten,

Good catch!  Pushed a slightly different fix 
<https://github.com/OpenSIPS/opensips-cli/commit/61dd7edaa82b27d3c3c745fa36b9776e248519e3>, 
which is more idiomatic, and gave you credits :-)

Best regards,

Liviu Chircu
www.opensips-solutions.com |www.siphub.com

On 02/02/2026 18:31, Karsten Wemheuer via Users wrote:
> I think I found a syntax error in opensips-cli.
>
> In file opensipscli/modules/mi.py, line 87
>
>    m = re.match('([a-zA-Z\.\-_]+)=', p)
>
> this throws a warning "SyntaxWarning: invalid escape sequence '\.'"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20260206/0246c9df/attachment.html>


More information about the Users mailing list