mirror of
https://github.com/chmln/sd
synced 2024-11-22 03:03:03 +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",
|
"Indexed capture groups",
|
||||||
r"echo 'cargo +nightly watch' | sd '(\w+)\s+\+(\w+)\s+(\w+)' 'cmd: $1, channel: $2, subcmd: $3'",
|
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",
|
"Find & replace in file",
|
||||||
|
|
Loading…
Reference in a new issue