title: PHP Preg Replace on SVG file causes Segmentation Fault
body: <p>When I try run this command on my SVG file, the browser says no data has been received and I get an error in my Apache log file.</p>
  
  <pre><code>preg_match("/(&lt;g(\s|\S)*?&lt;\/g&gt;)/i", $SVG, $Matches);
  </code></pre>
  
  <p>My SVG file is <a href="https://drive.google.com/file/d/0B-h8Ddvp85rwTl8zTTN0bTlBbDQ/view?usp=sharing" rel="nofollow">here</a>.</p>
  
  <p>And the actual error that I'm getting is this</p>
  
  <blockquote>
    <p>[core:notice] [pid 20852] AH00052: child pid 31338 exit signal
    Segmentation fault (11)</p>
  </blockquote>
  
  <p>What have I done wrong here and how do I fix this?</p>