/std_logic\%[_vector]\%((\d\)\?

it is only match 
std_logic_vector(1 

how to match something in the "()"?
Include blank and digit and English letter?


2011-01-17 



ifys0325 



发件人: Christian Brabandt 
发送时间: 2011-01-17  17:21:31 
收件人: vim_use 
抄送: 
主题: Re: how to match this three part 
 
On Mon, January 17, 2011 6:59 am, ifys0325 wrote:
> Hi,
>
> std_logic   and   std_logic_vector
> can be matched like this
> 'std_logic\%[_vector]'
>
> Now i want to match this three part:
>
> std_logic
> std_logic_vector(1 downto 0)
> std_logic_vector(1 to 0)
>
> The number in the bracket is digit.
>
>
> Any solution for this?
You mean like this?
/std_logic\%[_vector]\%((\d\)\?
regards,
Christian
-- 
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

-- 
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