i am sorry . i want to match std_logic std_logic_vector(1 downto 0) std_logic_Vector(0 to 1)
I want to match all this three parts,including the contents of brackets,also and the brackets. \%(std_logic\%[_vector](\)\@<=[[:alnum:] ]* matchs (1 downto 0) and (0 to 1) follows "std_logic_vector" and /std_logic\%[_vector]\%((\d\)\? matchs std_logic std_logic_vector(1 std_logic_vector(0 I don't know if I express clear? This two solution is useful for me. thank you ~ thank you! 2011-01-18 ifys0325 发件人: Christian Brabandt 发送时间: 2011-01-17 17:50:33 收件人: vim_use 抄送: 主题: Re: how to match this three part On Mon, January 17, 2011 10:32 am, ifys0325 wrote: > /std_logic\%[_vector]\%((\d\)\? > > it is only match > std_logic_vector(1 It isn't for me. (Vim 7.2.284) Here it matches std_logic std_logic_vector(1 std_logic_vector(1 as expected. > > how to match something in the "()"? > Include blank and digit and English letter? I don't understand. Please be as exact and precise as possible and include a sample. I am guessing a last time. Is this what you want? \%(std_logic\%[_vector](\)\@<=[[:alnum:] ]* Oh and please don't top poste. 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
