docs: fix capture group example in man page

This commit is contained in:
John Careaga 2024-02-19 01:02:21 -05:00
parent 2d287b9b1c
commit 0fd8524b29

View file

@ -70,7 +70,7 @@ fn gen_man(base_dir: &Path) {
(
"Indexed capture groups",
r"echo 'cargo +nightly watch' | sd '(\w+)\s+\+(\w+)\s+(\w+)' 'cmd: $1, channel: $2, subcmd: $3'",
"123 dollars and 45 cents",
"cmd: cargo, channel: nightly, subcmd: watch",
),
(
"Find & replace in file",