Andrew Lentvorski wrote:
Ralph Shumaker wrote:

How would I search for every numerical sequence *not* followed by a space, and append a space after each such instance?


\d+\S

\d+ match one or more digits
\S  match any single non-whitespace character

You would have to use one of Stewart's recipes for doing the replace in vi/vim as I don't know vi.

Yeah, it seems that vi doesn't know \d+ either.  (I didn't try the rest.)


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to