1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 02:33:12 +02:00

core: change text in comment of function string_replace_regex

This commit is contained in:
Sebastien Helleu
2014-02-14 10:54:38 +01:00
parent f4606ef0a9
commit 0bfacb5592
+3 -4
View File
@@ -1296,11 +1296,10 @@ string_replace_regex_get_replace (const char *string, regmatch_t *regex_match,
}
/*
* Replaces a string by new one in a string, using a regular expression for
* searching string.
* Replaces text in a string using a regular expression and replacement text.
*
* The argument "regex" is a pointer to a regex compiled with function regcomp
* (or WeeChat function string_regcomp).
* The argument "regex" is a pointer to a regex compiled with WeeChat function
* string_regcomp (or function regcomp).
*
* The argument "replace" can contain references to matches:
* $0 .. $99 match 0 to 99 (0 is whole match, 1 .. 99 are groups captured)