Wednesday, April 27, 2011

arithmetic expressions in search

Hello,

I have a file where I have words like X1, X2, ..., X16, X17, X18, ....
I want to find out occurences of words containing a number greater
than, say, 17. So basically, I want to find X18, X19, X20, etc. How
can I do this in vim? In other words, can we use arithmetic
expressions in search? If yes, how?

Thanks.

--
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

No comments: