Hi,
> how can i did this? i want match abcd which is not in quote. e.g:
> abcd //match
> "abcd" //mismatch
> "\"abcd" //mismatch
> "\"ab" abcd //match
>
> how can i did this?
use negative look-ahead and look-behind, something like:
\("\)\@<!abcd\("\)\...@!
should work. [^"]abcd[^"] will not work if abcd stand at the beginning or end
of a line.
Kind regards
Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---