I am trying to find method usages of the following format <obj>.Apply(<arg1>,<arg2>)
So I search for this regex in my project resources: \.Apply\([^,]*?,[^,]*?\)
but this does not work.
As well as accepting <obj>.Apply(<arg1>,<arg2>) it also accepts for examlpe <obj>.Apply().
I have verified the regex works on regex101.com so I am not sure why this isn't working in eclipse?
The eclipse I am using is Eclipse IDE for C/C++ Developers, Version: Oxygen.3 Release (4.7.3), Build id: 20180308-1800, The project I am searching is a Go project using the GoClipse plugin.
If you want only match .Apply(a1,a2) this part do this :
\.Apply\([^,)]+,[^,)]+[^,)]
https://regex101.com/r/ILKcsT/3/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With