Same here. Also, I don&#x27;t use Atom, but looking at the expression I&#x27;m pretty sure it fails to account for strings with parentheses. The way the matching is done, it looks like it will happily count:<p><pre><code>    func(&quot;some call :)&quot;)
</code></pre>
as extra closing paren. (regex101 agrees)