[plug] re: replacing text in search

Russell Steicke r.steicke at bom.gov.au
Sat Aug 2 15:19:05 WST 2003


> I'm not sure if there's a way to avoid having to use the :1,$ notation 
> to say 'all of file' but when I've tried to use s regex without this, ie
> :s/blah/bloh/g
> it fails.

That's what the % means.

  :%s/blah/bloh/g




-- 
Russell Steicke

-- Fortune says:
I have a very good DENTAL PLAN.  Thank you.



More information about the plug mailing list