title: Regex pattern to find specific method call in Java source code
body: <p>Regarding to <a href="https://stackoverflow.com/questions/9403570/regex-to-find-method-calls">this</a> question, I need a modified version of the pattern to find  a specific method call, For example for the following user input string, the matcher can find the occurrences of &quot;setValue&quot; as a group:</p>
  <pre><code> var SATNUM = getValue(&quot;SATNUM&quot;);
          var SGAS = getValue(&quot;SGAS&quot;);
          var SIGMAV = getValue(&quot;SIGMAV&quot;);
          var SWAT = getValue(&quot;SWAT&quot;);
          if (!checkFilter()) { continue; }
          2*FIPNUM
          ;
          setValue(&quot;DZMTRXV&quot;,DZMTRXV);
          setValue(&quot;EQLNUM&quot;,EQLNUM);
  </code></pre>