On Fri, Aug 6, 2010 at 1:38 AM, ZyX <[email protected]> wrote: > I am surprised that nobody mentioned negative look-behind > (/[a...@![[:alnum:]]). > Unlike '\&', it is available in all perl-like regex engines (via (?!)), so you > will not restrict your regex experience to vim. > > Текст сообщения:
Thanks very much for telling me that. I think the reason why nobody mentioned it is that \& is more intuitive to use (it can be seen as the AND operator). On the other side, as said by vim help, \...@! is a little bit tricky. It's hard to handle. However, I found it's very useful in some special cases in the sense that you can write your regular expression in a *positive* way. Regards, Xell -- 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
