Thursday, March 31, 2016

Re: Find white spaces

On Thursday, March 31, 2016 at 3:08:12 PM UTC-5, ratheesh kannoth wrote:
> Hi list,
>
> I would like search to spaces which is not tab or 1 white space.
>
>
> int main()
> {
> int fox; /* This is a fox */
> }
>
> I need a regex which can find the space between "fox;" and the comment above

In other words, you need to match "two or more spaces"?

Any of these should work:

/ \+
/ \{2,}
/ *

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment