title: Using a regex pattern to find revision numbers from a svn merge
body: <pre><code>svn diff -rXX:HEAD
  </code></pre>
  
  <p>Will give me a format like this, if there has been a merge between those revisions:</p>
  
  <pre><code>Merged /&lt;branch&gt;:rXXX,XXX-XXX
  or
  Merged /&lt;branch&gt;:rXXX
  </code></pre>
  
  <p>I'm not very familiar with regex and am trying to put together a pattern which will match all the numbers (merged revision numbers) AFTER matching the "Merged /branch:r" part. </p>
  
  <p>So far I have this to match the first part:
      [Mm]erged.*[a-zA-Z]:r</p>
  
  <p>Thanks in adv. for the help :)</p>