title: Regex to parse docker tag?
body: <pre><code>'registry/rabbit',
  'registry/rabbit:3',
  'rabbit',
  'rabbit:3'
  </code></pre>
  
  <p>Trying to come up with a regex that will match <code>rabbit</code> in the four cases above. Seems easy enough, but my regex-fu is failing me.</p>