title: preg_match second match
body: <p>Just trying to <code>preg_match</code> the second match.</p>
  
  <pre><code>&lt;?php
  $url = "http://domain.com";
  preg_match('~&lt;table([^&gt;]*)(class\\s*=\\s*["\']ladder-table["\'])([^&gt;]*)&gt;(.*?)&lt;/table&gt;~i', file_get_contents($url), $match);
  print $match[0];    
  ?&gt;
  </code></pre>
  
  <p>Here is the table I'm trying to find:</p>
  
  <pre><code>&lt;table class="ladder-table"&gt;Content&lt;/table&gt;
  &lt;table class="ladder-table"&gt;Content&lt;/table&gt; &lt;-- [This one]
  &lt;table class="ladder-table"&gt;Content&lt;/table&gt;
  </code></pre>
  
  <p>The last two tables are hidden by a java script code. Does it influence on the pattern?</p>