title: preg_match_all() [function.preg-match-all]: Unknown modifier ']'
body: <p>Using a few different patterns but they each come up with this error - so what's wrong?</p>
  
  <p>My shortest one to diagnose is:</p>
  
  <pre><code>$pattern = "&lt;img([^&gt;]*[^/])&gt;";
  preg_match_all($pattern, $subject, $matches);
  </code></pre>
  
  <p>Thanks</p>