I don't know regular expressions like the back of my hand yet, but I'm
working on it :) Can someone tell me how to replace a matched pattern with
itself and some extra characters? For example, I want to replace all
instances of [A-Z] with the same thing, but with a spaces around it. So if I
only had "A"s in my text, in vi I could write
:%s/A/ A /g
How can I achieve the same effect if I don't explicitly know what character
to replace? Thanks!