Thanks for the trick, I love it already :-)
----- Original Message ----- From: "Eric Arnold" <[EMAIL PROTECTED]>
To: "Charles E Campbell Jr" <[EMAIL PROTECTED]>
Cc: "Sylvain" <[EMAIL PROTECTED]>; <vim@vim.org>
Sent: Thursday, June 15, 2006 5:25 PM
Subject: Re: ***SPAM*** Problem with regexp in macro


>  let lineString=substitute(lineString, "\(\w\+\)\(\s\+\)\(\w\+\)",
> "\3\2\1", "g")

BTW, here's another trick (I've become a \v  convert :-)

let lineString=substitute(lineString, '\v(\w+)(\s+)(\w+)',

Reply via email to