title: Regex for Git commit message
body: <p>I'm trying to come up with a regex for enforcing Git commit messages to match a certain format. I've been banging my head against the keyboard modifying the semi-working version I have, but I just can't get it to work exactly as I want. Here's what I have now:</p>
  
  <pre><code>/^([a-z]{2,4}-[\d]{2,5}[, \n]{1,2})+\n{1}^[\w\n\s\*\-\.\:\'\,]+/i
  </code></pre>
  
  <p>Here's the text I'm trying to enforce:</p>
  
  <pre><code>AB-1432, ABC-435, ABCD-42
  
  Here is the multiline description, following a blank 
  line after the Jira issue IDs
  - Maybe bullet points, with either dashes
  * Or asterisks
  </code></pre>
  
  <p>Currently, it matches that, but it will also match if there's no blank line after the issue IDs, and if there's multiple blank lines after.</p>
  
  <p>Is there anyway to enforce that, or will I just have to live with it?</p>
  
  <p>It's also pretty ugly, I'm sure there's a more succinct way to write that out.</p>
  
  <p>Thanks.</p>