title: regex cookie validator
body: <p>I'm trying to create a regex that would mach if the cookie values are valid, but I can't figure out how to match multiple characters and make a property required...</p>
  
  <p>This is what I've made so far...<br>
  <code>((name=\w;)|(value=\w;|expires=0-9)|(secure=true|false))&amp;&amp;(domain=\w;)</code></p>
  
  <p>This would be a valid string:<br>
  <code>name=test1;value=abc123;expires=14325;domain=github.com</code></p>
  
  <p>The string would be invalid if no domain is specified or there are additional parameters than <code>name</code> (string), <code>value</code> (string), <code>expires</code> (number), <code>secure</code> (boolean) or <code>domain</code> (string)</p>