From 348b44ebf82e26e13c7333e157ebd749c1bddf66 Mon Sep 17 00:00:00 2001 From: Yonton Liu Date: Thu, 17 Sep 2020 17:30:05 +0800 Subject: [PATCH] fix 2 typos in chapter 12 --- ch12_search_and_substitute.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ch12_search_and_substitute.md b/ch12_search_and_substitute.md index 70ad7ec..2e9ab5e 100644 --- a/ch12_search_and_substitute.md +++ b/ch12_search_and_substitute.md @@ -51,7 +51,7 @@ If you have this text: hello hello friend ``` -Running `/hello$` will match anything because "friend" is the last term in that line, not "hello". +Running `/hello$` will not match anything because "friend" is the last term in that line, not "hello". # Repeating Search @@ -216,7 +216,7 @@ Let's start with a basic usage. If you have this text: vim is good ``` -Let's substitute "good" with "awesome" because Vim is awesome. Run `:s/good/awesome/.` You should see: +Let's substitute "good" with "awesome" because Vim is awesome. Run `:s/good/awesome/`. You should see: ``` vim is awesome