title: Golang regular expression for parsing key value pair into a string map
body: <p>I'm looking to parse the following string into a <code>map[string]string</code> using a regular expression:</p>
  
  <pre><code>time="2017-05-30T19:02:08-05:00" level=info msg="some log message" app=sample size=10
  </code></pre>
  
  <p>I'm trying to create a map that would have</p>
  
  <pre><code>m["time"] = "2017-05-30T19:02:08-05:00"
  m["level"] = "info"
  </code></pre>
  
  <p>etc</p>
  
  <p>I have tried using <code>regex.FindAllStringIndex</code> but can't quite come up with an appropriate regex? Is this the correct way to go?</p>