Thanks for your reply. I'm trying to write a vim plugin that checks trailing
comma for .js file, I'm using "match Error" when the buffer saves, but there
is another function in the plugin:    
:vimgrep /the regex/ **/*.js

so there should be a regex to fit these 2 functions.

//Brs
-- 
View this message in context: 
http://old.nabble.com/how-to-match-a-%22%2C%22-that-IS-NOT-in-comment-tp26756853p26785785.html
Sent from the Vim - General mailing list archive at Nabble.com.

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

Reply via email to