Reputation: 55263
I want to match the following ...
in Vim:
Um...yeah.
No...
I know in most programming languages you can do this:
/\b\.\.\./g
How about Vim? How can I match the ...
in this situation?
Upvotes: 0
Views: 38
Reputation: 36262
You can try the following one:
/\v\w\zs[.]{3}
It matches three dots that follow any word character, you can use some kind of quantifiers after the \w
to match a minimum number of letters, but I hope you get the idea.
Upvotes: 2