From e7b604c97e1e7aa03e82b18b380228752820ee3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 7 Aug 2014 07:48:15 +0200 Subject: core: fix example in comment of function string_replace_regex --- src/core/wee-string.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core') 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. */ -- cgit v1.2.3