From 0bfacb5592a4fabdb527d9049dd342b0b702244f Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 14 Feb 2014 10:54:38 +0100 Subject: [PATCH] core: change text in comment of function string_replace_regex --- src/core/wee-string.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/wee-string.c b/src/core/wee-string.c index 2e7cc662c..13219d76a 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -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)