diff --git a/modules/textops/doc/textops_admin.xml b/modules/textops/doc/textops_admin.xml index d8c2019454..7e38fb3e09 100644 --- a/modules/textops/doc/textops_admin.xml +++ b/modules/textops/doc/textops_admin.xml @@ -500,7 +500,7 @@ if (subst_user('/(.*)3642$/$avp(user_prefix)\13642/')){$ Meaning of the parameters is as follows: - '/re/repl/flags' - sed like regular + '/re/repl/flags' - sed like regular expression. flags can be a combination of i (case insensitive), g (global) or s (match newline don't treat it as end of line). @@ -523,7 +523,8 @@ if (subst_user('/(.*)3642$/$avp(user_prefix)\13642/')){$ <function>subst_body</function> usage ... -if ( subst_body('/^o=(.*) /o=$fU ') ) {}; +if (subst_body("/^o=([^ ]*) /o=$fU /")) + xlog("successfully prepared an "o" line update!\n"); ...