Browse code

modules: readme files regenerated - textops ... [skip ci]

Kamailio Dev authored on 05/10/2021 08:01:29
Showing 1 changed files
... ...
@@ -252,9 +252,13 @@ Chapter 1. Admin Guide
252 252
    The module implements text based operations over the SIP message
253 253
    processed by Kamailio. SIP is a text based protocol and the module
254 254
    provides a large set of very useful functions to manipulate the message
255
-   at text level, e.g., regular expression search and replace, Perl-like
255
+   at text level, e.g., regular expression search, replace or
256 256
    substitutions, checks for method type, header presence, insert of new
257
-   header and date, etc.
257
+   header and date, string comparisons, multi-part body operations, etc.
258
+
259
+   If not stated otherwise, the regular expressions parameters for search,
260
+   replace or substitute have to be in POSIX format. For PCRE regular
261
+   expression matching, see the pcre or dialplan modules.
258 262
 
259 263
 2. Known Limitations
260 264
 
... ...
@@ -602,7 +606,7 @@ replace_hdrs_str("Kamailio", "Kamailio SIP Proxy", "a");
602 606
 
603 607
 4.16.  subst('/re/repl/flags')
604 608
 
605
-   Replaces re with repl (sed or perl like).
609
+   Replaces re with repl.
606 610
 
607 611
    Meaning of the parameters is as follows:
608 612
      * '/re/repl/flags' - sed like regular expression. flags can be a
... ...
@@ -683,7 +687,7 @@ if (subst_user('/(.*)3642$/$avp(user_prefix)\13642/')){$
683 687
 
684 688
 4.19.  subst_body('/re/repl/flags')
685 689
 
686
-   Replaces re with repl (sed or perl like) in the body of the message.
690
+   Replaces re with repl in the body of the message.
687 691
 
688 692
    Meaning of the parameters is as follows:
689 693
      * '/re/repl/flags' - sed like regular expression. flags can be a
... ...
@@ -704,7 +708,7 @@ if ( subst_body('/^o=(.*) /o=$fU /') ) {};
704 708
 
705 709
 4.20.  subst_hf(hf, subexp, flags)
706 710
 
707
-   Perl-like substitutions in the body of a header field.
711
+   Substitutions in the body of a header field.
708 712
 
709 713
    Meaning of the parameters is as follows:
710 714
      * hf - header field name.