I wanted to replace all occurrences of new Foo("test") with a call of the existing method Foo.create("test").
Find: new Foo($1$)
But this ended up as new Foo(Foo.create("test))
Can someone help me on this, i.e. explain to me what I'm doing wrong and how I can fix it.