mmm this not work? [[...@] ? or this? [...@] ?
2009/5/22 A. S. Budden <[email protected]> > > 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? To clarify by way > of an example: > > If I want to match any alphabetic character, I can use \a. If I want > to match any alphabetic character OR the '@' symbol, I can use > [[:alpha:]...@]. > If I want to match any keyword character, I can use \k. How can I > match any keyword character OR the '@' symbol? > > I realise I could temporarily change the value of 'iskeyword', but I'd > prefer not to do that. The only way I have thought of overcoming this > is to parse the value of 'iskeyword' and make a new regular expression > 'on the fly'. Is there a better way? > > Thanks in advance. > > Al > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
