[SR-Users] Textops Regex
Duarte Rocha
duarterocha91 at gmail.com
Tue Jun 19 12:05:22 CEST 2018
You're right, it is application/sdp and the back slash works as escape
character.
However, a new problem came. I'm using this, since someone upstream is
adding \r\n to a part of the body :
replace_body_all("application\/sdp\r\n\r\n", "application/sdp\r\n");
The regex finds the application/sdp just right, but doesn't replace
everything. So, as a final result i get applicationapplication\sdp\r\n. Is
this intended?
Thanks for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180619/0a9239cf/attachment.html>
More information about the sr-users
mailing list