hi,

It was actually a \t and not a space.
thanks!

Jerin

On 6/19/06, Andrei A. Voropaev <[EMAIL PROTECTED]> wrote:
On Mon, Jun 19, 2006 at 12:20:10PM +0530, Jerin Joy wrote:
> Hi,
>
> I have the same version of vim installed on two different machines.
> The file I want to edit contains
> input        signala;
> input       signalb;
>
> I wanted to have just signala, signalb on a line so that the file looks
> like:
>
> signala
> signalb
>
> I used the regexp replace:
> :%s/input[\ ]\+/ /g
>
> It works on one of the systems but the other one gives me a Pattern
> not found error. Does anyone know whats causing this difference?

Maybe the 'magic' option is set to something different. Try :he pattern
and :he 'magic'

--
Minds, like parachutes, function best when open



--
http://jerinj.blogspot.com/
--

Reply via email to