2009/5/22 Andy Wokula <[email protected]>:
>
> A. S. Budden schrieb:
>> When using patterns in vim, I often make use of the \k pattern to
>> match any part of the keyword.  Is it possible to make a character
>> collection that includes \k and other characters?
>
> sorry, you can't.  instead of
>   /foo[\k...]*bar
>
> you have to do
>   /foo\%(\k\|[...]\)*bar
>
> (where "..." stands for more chars in the collection)

Thanks!

Al

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to