Merge pull request #292 from johnc219/man-page-patch

docs: fix capture group example in man page
This commit is contained in:
Gregory 2024-05-23 21:53:45 -04:00 committed by GitHub
commit fab61a0b42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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",