summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-08-07 07:48:15 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-08-07 07:48:15 +0200
commite7b604c97e1e7aa03e82b18b380228752820ee3e (patch)
tree04ddd32c324b310e7791452dae4132d18dd71c5e /src
parent13fc108c6daabbdc4c3215884cec9e3f54ff7d21 (diff)
downloadweechat-e7b604c97e1e7aa03e82b18b380228752820ee3e.zip
core: fix example in comment of function string_replace_regex
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-string.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/wee-string.c b/src/core/wee-string.c
index 79e757db9..9e1965deb 100644
--- a/src/core/wee-string.c
+++ b/src/core/wee-string.c
@@ -1354,12 +1354,12 @@ string_replace_regex_get_replace (const char *string, regmatch_t *regex_match,
*
* Examples:
*
- * string | regex | replace | result
- * ----------+---------------+-----------+-------------
- * test foo | test | Z | Z foo
- * test foo | ^(test +)(.*) | $2 | foo
- * test foo | ^(test +)(.*) | $1 / $.*2 | test / ***
- * test foo | ^(test +)(.*) | $.%+ | %%%
+ * string | regex | replace | result
+ * ----------+---------------+----------+-------------
+ * test foo | test | Z | Z foo
+ * test foo | ^(test +)(.*) | $2 | foo
+ * test foo | ^(test +)(.*) | $1/ $.*2 | test / ***
+ * test foo | ^(test +)(.*) | $.%+ | %%%
*
* Note: result must be freed after use.
*/