summaryrefslogtreecommitdiffhomepage
path: root/examples/regex_replace.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/regex_replace.c')
-rw-r--r--examples/regex_replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/regex_replace.c b/examples/regex_replace.c
index 21252236..3dcb965d 100644
--- a/examples/regex_replace.c
+++ b/examples/regex_replace.c
@@ -41,7 +41,7 @@ int main()
cregex_drop(&re);
printf("euros: %s\n", cstr_str(&str));
- /* Wrap all words in {} */
+ /* Wrap all words in ${} */
cstr_take(&str, cregex_replace_p("[52] apples and [31] mangoes", "[a-z]+", "$${$0}"));
printf("curly: %s\n", cstr_str(&str));
}