mirror of
https://github.com/chmln/sd
synced 2024-11-24 20:23:04 +00:00
docs: fix capture group example in man page
This commit is contained in:
parent
2d287b9b1c
commit
0fd8524b29
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue