title: Regex Repeating Pattern
body: <p>Say you have a <code>string</code>:</p>
  
  <pre><code>string s = "GameObject.Find(\"obj\").GetComponent(\"comp\").GetMethod(\"method\").Get...";
  </code></pre>
  
  <p>The <code>string</code> can have any number of <code>GetX()</code> methods appended to it.</p>
  
  <p>And you need to separate each method without the "." separator. Although, <code>GameObject.Find</code> can keep the <code>(dot)</code>.</p>
  
  <p>Here is my code so far :</p>
  
  <pre><code>Match match = Regex.Match(s, "(.+?\\(\".+?\"\\))(?:\\.??)*");
  </code></pre>
  
  <p>This produces only one group. What is the correct solution to this problem?</p>
  
  <p><strong>Edit</strong> :</p>
  
  <p>Updated with non-capturing group.</p>