title: preg_match_all skippes one nested tag
body: <p>if you look at this tag:</p>
  
  <pre><code>$text = '&lt;div class="inner"&gt;
      &lt;div class="left"&gt;
          &lt;h4&gt;text &lt;/h4&gt;
          &lt;p&gt;Abdijstreet 42b&lt;br&gt;2000 city &lt;/p&gt;
      &lt;/div&gt;
      &lt;div class="right"&gt;
          &lt;span class="red"&gt;10:00 - 14:00&lt;/span&gt;
      &lt;/div&gt;
  &lt;/div&gt;'
  </code></pre>
  
  <p>I use this to preg_match:</p>
  
  <pre><code>preg_match_all("'&lt;div class=\"inner\"&gt;(.*?)&lt;/div&gt;'si", $text, $match);  // de ul tags
  
              $match[1] = array_splice($match[0], 0);
  
          foreach($match[1] as $val) // hele pagina
          {
                  echo $val;
                  }
  </code></pre>
  
  <p>Well i tried many things, but i only get whats between  and never what i need for , what am i doing wrong?</p>