title: preg_match(): Unknown modifier ')'
body: <p>The code:</p>
  
  <pre><code>  preg_match("/(\/.*?\/)((?:[^\/]|\\\/)+?)(?:(?&lt;!\\)\s|$)/", $line, $matches);
  </code></pre>
  
  <p>Code tested at: <a href="http://www.phpliveregex.com/p/ivO" rel="nofollow noreferrer">http://www.phpliveregex.com/p/ivO</a></p>
  
  <p>On my local I get: </p>
  
  <blockquote>
    <p>preg_match(): Unknown modifier ')'</p>
  </blockquote>
  
  <p>PHP 5.6.26</p>