title: How to match html-comment with preg_match_all (PHP)?
body: <p>I have this HTML-document:</p>
  
  <pre><code>&lt;!--SETTINGS 
  title: This is the title
  keywords: dummy, title, longer keyword, another
  description: This is the description of the page
   --&gt;
  
  dit is de home dit is de homedit is de homedit is de homedit is de home
  dit is de home
  dit is de home
  dit is de home
  dit is de homedit is de homedit is de homedit is de home
  dit is de homedit is de homedit is de home
  </code></pre>
  
  <p>Now, I'd like to match the comment at the beginning. I think my regex-pattern looks like this:</p>
  
  <pre><code>&lt;!--SETTINGS([\s\S])*--&gt;
  </code></pre>
  
  <p>When I test it in: <a href="http://regexr.com?2ucae" rel="nofollow">http://regexr.com?2ucae</a> , everything seems to work like it should.
  When I put it in PHP, I get an error: Fout 101 (net::ERR_CONNECTION_RESET): Connection lost.</p>
  
  <p>What am I doing wrong?</p>