title: preg_match_all with spaces
body: <p>have some headers like:</p>
  
  <pre><code>HTTP/1.1 100 Continue
  HTTP/1.1 302 Found
  HTTP/1.1 200 OK
  HTTP/1.1 400 Not Found
  </code></pre>
  
  <p>so, I need to get 2 parts: </p>
  
  <pre><code>[200] =&gt; [OK]
  [400] =&gt; [Not Found]
  </code></pre>
  
  <p>I need a way to use <code>preg_match_all</code> and get those values, but need to preserve the spaces at <code>Not Found</code></p>
  
  <p>have this code:</p>
  
  <pre><code>preg_match_all( '/([0-9]{3}) ([A-Za-z0-9+]*)/', $headers, $matches );
  </code></pre>
  
  <p>Works with 1-3 example headers.</p>
  
  <p>Any ideas?</p>