title: how to match request line using regex?
body: <pre><code>request line definition:
  request_line := request_method + spaces + any number of other characters
  
  eg: some valid request lines: 
    GET /user/1
    POST /users
    PUT ABC
    DELETE XYZ
  </code></pre>
  
  <p>So my question is how to match the request line? I have tried the following, but unfortunately it does not work.</p>
  
  <pre><code>re.compile('^[GET|POST|PUT|DELETE]\s+.+').match(request_line) # output None
  </code></pre>