title: Need regex to parse keyword='value' with single or double quotes
body: <p>I'm having trouble writing a regular expression (suitable for PHP's preg_match()) that will parse keyword='value' pairs regardless of whether the &lt;value&gt; string is enclosed in single or double quotes. IOW in both of the following cases I need to get the &lt;name&gt; and &lt;value&gt; where the &lt;value&gt; string may contain the non-enclosing type of quotes:</p>
  
  <pre><code>name="value"
  name='value'
  </code></pre>