Hi,

>
> On 11月8日, 下午5时56分, StarWing <[EMAIL PROTECTED]> wrote:
>
> but, how can i get the variables match the special regexp?
>

You can use the following to get the names of global variables
matching a regexp:

   let l = filter(g:, "v:key =~? '<regexp_pattern>'")

- Yegappan

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

Reply via email to