From 5373191e64d9763c14da46b1657828779b74f462 Mon Sep 17 00:00:00 2001 From: pkoppstein Date: Sun, 2 Jul 2023 01:53:59 -0400 Subject: [PATCH] manual.yml: gsub examples Correct one gsub example, and add another --- docs/content/manual/manual.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml index aa3a61f8be..d56c53a5e8 100644 --- a/docs/content/manual/manual.yml +++ b/docs/content/manual/manual.yml @@ -2503,7 +2503,11 @@ sections: example: - program: 'gsub("(?.)[^a]*"; "+\(.x)-")' input: '"Abcabc"' - output: '"+A-+a-"' + output: ['"+A-+a-"'] + + - program: '[gsub("p"; "a", "b")]' + input: '"p"' + output: ['["a","b"]'] - title: Advanced features