title: How the preg_match handles the delimiter when \Q..\E used?
body: <p>I'm playing with regular expressions and I tried the \Q..\E escape sequence.</p>
  
  <p>First try:</p>
  
  <pre><code>$regex = '/\Q http:// \E/';
  var_dump(preg_match($regex, ' http:// '));
  </code></pre>
  
  <p>It tells me that '\' is unknown modifier, completely understandable.</p>
  
  <p>Second try:</p>
  
  <pre><code>$regex = '/\Q http:\/\/ \E/';
  var_dump(preg_match($regex, ' http:// '));
  var_dump(preg_match($regex, ' http:\/\/ '));
  </code></pre>
  
  <p>It runs, not match the first string, but match the second one.</p>
  
  <p>I know that I could use other delimiter character or solve it without \Q..\E, but I'm curious that how it works.</p>
  
  <p>I through that at first it separates the regex from the modifiers by the delimiter (with handling the escaping if necessary) and after that the regex engine interprets the \Q..\E, but it seems like that when the \Q involved, then it not handles the escaped delimiter the same way.</p>
  
  <p>What happens exactly at this case?</p>
  
  <p>Thanks!</p>