Hi,

I would like to count numbers of ; in a line before position of my
cursor.

I am doing a search like that : search(';;\{1,30}','w')

;foo;;bar    => should return 2

;foo1;foo;;bar    => should return 3

;foo1;foo2;foo;;bar    => should return 4

;;foo;;bar    => should return 0

Thanks

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

Reply via email to