vim - Match strings surrounding another string -


In Wimi, I'm trying to match two strings (upskix) only when C Function (foo, bar) Call Other Function (foo) Call Third Function (foo, bar):

Now if we specify the string foo, then I want to look it like this (things will be matched & lt;>)

 < Code> call & lt; SomeFunction (& gt; Foo, Bar & lt;) & gt; Second function (foo) call and third function (& gt; foo, bar & lt;) & gt; Call.  

A simple example must match the string surrounded by something special. As in some foo, some times (foo, bar) only the second event of foo, bar matches but no bracket . From there, I might work on it

Any thoughts?

You can use to achieve your goal:

  (\ @ & Lt; = [^ ()] *) \ @ =  

It can be rewritten:

  (\ zs [^ ()] * \ Ze)  

They (...) .


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -