From 0fd8524b29773eeae8d692d81f29718aef6befe3 Mon Sep 17 00:00:00 2001 From: John Careaga Date: Mon, 19 Feb 2024 01:02:21 -0500 Subject: [PATCH] docs: fix capture group example in man page --- xtask/src/gen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/gen.rs b/xtask/src/gen.rs index bfd9073..e73e13b 100644 --- a/xtask/src/gen.rs +++ b/xtask/src/gen.rs @@ -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",