On Tue, 29 Aug 2006, Tim Chase wrote:

        :%s/\%>15cfoo\%<30c/bar/g

will substitute "foo" with "bar" only between columns 15 and 30 (adjust for the off-by-one that may or not may occur)

great this one is doing exactly what I was looking for, thanks a lot.

I imagine that regular expression are more complicated and powerful than
I was expecting :-D

Walter

--
Walter Cazzola, PhD - Assistant Professor, DICo, University of Milano
E-mail [EMAIL PROTECTED] Ph.: +39 010 353 6637  Fax: +39 010 353 6699
· · · --------------------------- · · · --------------------------- · · ·
               ... recursive: adjective, see recursive ...
· · · --------------------------- · · · --------------------------- · · ·

Reply via email to