[sr-dev] [kamailio/kamailio] textops : added a new function for getting substring with regular expression (#1733)

Daniel-Constantin Mierla notifications at github.com
Fri Nov 30 10:23:43 CET 2018


Refactored the code to properly export to KEMI interface, allow variables in some of the parameters, so the values can be dynamic. The function was named regex_substring() and the order of the parameters was changed to follow the pattern: input value, match expression (regex, match index, max match count) and the output.

I haven't tested, hopefully you can do it and report if works as expected. If any issues, then open a bug report. Thanks!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1733#issuecomment-443142894
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181130/dc1568d2/attachment.html>


More information about the sr-dev mailing list