Hello all,
I would like to substitute in a long script all ocurrences of \<select
\|from\where\|etc\> except if those words are part of a string
(maarked as string in the corresponding highlight). eg.:
select chain from someTable where chain contains("%SeLeCt%FroM") ->
SELECT chain FROM someTable WHERE chain CONTAINS("%SeLeCt%FroM")
What is missing to :%s/\<select\|from\|where\|contains\>/\U&
Thank you in advance,
Manuel
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---