On 10/11/11 05:46, Efraim Yawitz wrote:
On Tue, Oct 11, 2011 at 1:13 AM, Tim Chase<[email protected]>  wrote:
  :%s/\k\@!.//g

What is that dot after the ! ? (I was wondering this about the
help on \@! but this is a chance to ask.)

\k\@!   means "\k can't match here" (it's zero-width)
.       means "anything can match here"

which is loosely a way of turning "." into "."-"\k". It gets more complex to understand if the atom preceding "\@!" matches more than a single character.

-tim



--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to