2 Comments
Jun 18, 2020Liked by Colin Bartlett

Thanks a lot. Can't remember how many times I've substituted a word just to press U immediately :-D

Expand full comment

A good tip, but it would be a good idea to reword this:

> the trailing g flag indicates that the entire address range % (which means all lines) should be included in the substitution (think “global”).

The `/g` flag does ensure substitution on the entire range, but that's because it affects each individual line. If it's missing, the entire address range will *still* be affected, it'll just apply to only one occurrence per line.

Expand full comment