Skip to content

Commit

Permalink
missing 's'
Browse files Browse the repository at this point in the history
  • Loading branch information
ltxlouis committed Jul 16, 2021
1 parent e667160 commit 91a35ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch12_search_and_substitute.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ To substitute the "let" into "const" on lines three to five, you can do:

Here are some range variations you can pass:

- `:,3/let/const/` - if nothing is given before the comma, it represents the current line. Substitute from current line to line 3.
- `:,3s/let/const/` - if nothing is given before the comma, it represents the current line. Substitute from current line to line 3.
- `:1,s/let/const/` - if nothing is given after the comma, it also represents the current line. Substitute from line 1 to current line.
- `:3s/let/const/` - if only one value is given as range (no comma), it does substitution on that line only.

Expand Down

0 comments on commit 91a35ee

Please sign in to comment.