mirror of
https://github.com/chmln/sd
synced 2024-11-21 18:53:03 +00:00
Merge pull request #292 from johnc219/man-page-patch
docs: fix capture group example in man page
This commit is contained in:
commit
fab61a0b42
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