title: PHP regex multiline one part of string
body: <p>I want to have One part multiline in a regex</p>
  
  <pre><code>&lt;?php
   function bloggerLoop ( $matches ) { print_r ( $matches ) ; }
  
   $theme = preg_replace_callback(
           "#&lt;b:loop values='data:(.*)' var='(.*)'&gt;(.*?)&lt;/b:loop&gt;#i",
           "bloggerLoop", 
           $theme 
           );
  ?&gt;
  </code></pre>
  
  <p>This is what I have, but <code>b:loop</code> is more than once in the template and this regex skips all the loops and make one "big" loop, but i only need to have one "part".</p>
  
  <p>What need is:</p>
  
  <pre><code>&lt;b:loop values='data:x' var='x'&gt;MULTILINE&lt;/b:loop&gt;
  </code></pre>
  
  <p>The file what is needed to be parsed is: <a href="http://pastebin.com/a3g3G1uE" rel="nofollow">http://pastebin.com/a3g3G1uE</a></p>
  
  <p>I hope you can help me with the regex.</p>
  
  <p>Tanks.</p>
  
  <p>-Wesley</p>