make it `/\w+\s+\w+\s*(?=\(.*?\))/` or `/\w+\b\s*\b(\w+\s*)(?=\(.*?\))/`
currently this regexp matches any of
`foo bar()`
`foo()`
`()` <-- this one makes infinite loop