Skip to content

Commit

Permalink
manual.yml: gsub examples
Browse files Browse the repository at this point in the history
Correct one gsub example, and add another
  • Loading branch information
pkoppstein committed Jul 2, 2023
1 parent d8cd39e commit 5373191
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/content/manual/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2503,7 +2503,11 @@ sections:
example:
- program: 'gsub("(?<x>.)[^a]*"; "+\(.x)-")'
input: '"Abcabc"'
output: '"+A-+a-"'
output: ['"+A-+a-"']

- program: '[gsub("p"; "a", "b")]'
input: '"p"'
output: ['["a","b"]']


- title: Advanced features
Expand Down

0 comments on commit 5373191

Please sign in to comment.