Pcre replace

来自MudWiki

名称

   pcre_replace - string replace, one entry in the array for each match

语法

   string pcre_replace(string, string, string *);

描述

   returns a string where all captured groups have been replaced by the elements of the replacement array. Number of subgroups and the size of the replacement array must match.

参考

   pcre_assoc(3)、pcre_cache(3)、pcre_extract(3)、pcre_match(3)、pcre_version(3)、pcre_replace_callback(3)