On Fri, 06 Apr 2007 05:52:33 +0000, "Eric Leenman"
<[EMAIL PROTECTED]> wrote:

> >:%s/:\s\+in/: in/g
> 
> This works for all lines containing one or more spaces.
> Why doesn't it work for lines which have no space between : and in?

Use ":%s/:\s*in/: in/g" instead (replace the \+ with *: \+ means "one
or more", * means "zero or more").

-- 
Matthew Winn

Reply via email to