title: Find a change level and a text of the change in a .rst news files using regex
body: <h1>What I want</h1>
  <p>I'm trying to work out a way in which I can use regex to find two groups in RST news files. I want get change level as well as the change text, for instance a following <code>.rst</code> file:</p>
  <ul>
  <li>hence I want a following regex <strong>(changelevel): (change text)</strong></li>
  <li>I was thinking about something like <strong>(changelevel): (anything until no next change level)</strong></li>
  </ul>
  <pre><code>* Major: This is a **Major** change
  * Minnor: This is is a minor change with a typo
  * Patch: This
  is a multiline
    patch
  </code></pre>
  <p>Should return a match, group1 and group2 as following</p>
  <h3>Match 1:</h3>
  <pre><code>&quot;* Major: This is a **Major** change&quot;
  &quot;* Major: &quot;
  &quot;This is a major **Major** change&quot;
  </code></pre>
  <h3>Match 2:</h3>
  <pre><code>&quot;* Patch: This\nis a multiline\n  patch&quot;
  &quot;* Patch: &quot;
  &quot;This\nis a multiline\n  patch
  </code></pre>
  <h1>What I need help with</h1>
  <p>I cannot make a regex that will take care of multilines and asterisks present in the &quot;change text&quot;
  I tried following logic</p>
  <ol>
  <li>Match the change level <code>^(\*\s+(\w+):\s)</code></li>
  <li>Match anything - with &quot;dot matches newline&quot; option turned on&quot; <code>.*</code></li>
  <li>Negative forward lookup until I match the change level <code>(?!^(\*\s+(\w+):\s))</code></li>
  </ol>
  <ul>
  <li>I ended up with <code>^(\*\s+(\w+):\s).*(?!^(\*\s+(\w+):\s))</code> but <code>.*</code> seems to just match everything to group 2</li>
  </ul>
  <p><a href="https://i.stack.imgur.com/JrW6O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JrW6O.png" alt="enter image description here" /></a></p>
  <h1>What works</h1>
  <p>I managed to get the first group working with a following regex which works works:</p>
  <ul>
  <li>beginning of the line</li>
  <li>star in front</li>
  <li>then whitespace</li>
  <li>a word</li>
  <li>colon</li>
  <li>white space</li>
  </ul>
  <p><code>^(\*\s+(\w+):\s)</code></p>
  <p><a href="https://i.stack.imgur.com/GTiuv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GTiuv.png" alt="enter image description here" /></a></p>