title: Git flow branch validation regex must end with letter
body: <p>I'm writting a regex to validate branch names. Basically, a branch can start with either feature, hotfix or release followed by a slash. Afterwards must be some letters or numbers (at least one) and then a separator, either a slash, a dot or a line followed by some more letters or numbers and so on. However, the branch name cannot end with a separator.</p>
  
  <p>This is what I came up with.</p>
  
  <pre><code>^(features?|releases?|hotfix(es)?)\/([a-z\d]+[-/_.]?)+[a-z\d]$
  </code></pre>
  
  <p>However, the branch name <code>release/0</code> does not match while it should. However, when I remvoe the last character set the branch <code>feature/name_</code> would match.</p>