title: Transform a list to a Kanban-like YAML with regex
body: <p>Given is text structured as follows:</p>
  
  <pre><code>* Topic1 :
    - things to do blabla # Todo [20/02/2020]
    - things done blabla # Done [15/01/2020]
  
  * Topic2 :
    - ....
  </code></pre>
  
  <p>How can we parse it yo transform this list in a kanban like structure, i.e. something of the following form:</p>
  
  <pre><code>Todo :
    - Action1 date
    ...
  Done :
     - Action2
  </code></pre>
  
  <p>I have managed to seperate actions status with the following regex
  regex = r"- ([^(#|\n|[)]<em>)(#[^[]</em>)([.*])"
  <a href="https://regex101.com/r/JHtWF2/1" rel="nofollow noreferrer">https://regex101.com/r/JHtWF2/1</a></p>
  
  <pre><code>Match 1
  Full match  13-50   - things to do blabla #P [20/02/2020]
  Group 1.    15-35   things to do blabla 
  Group 2.    35-38   #P 
  Group 3.    38-50   [20/02/2020]
  Match 2
  Full match  53-97   - things done blabla Done ed #A [15/01/2020]
  Group 1.    55-82   things done blabla Done ed 
  Group 2.    82-85   #A 
  Group 3.    85-97   [15/01/2020]
  Match 3
  Full match  112-158 - trouver une regex qui marche #D [14/02/2020]
  Group 1.    114-143 trouver une regex qui marche 
  Group 2.    143-146 #D 
  Group 3.    146-158 [14/02/2020]
  </code></pre>
  
  <p>How can include "* Topic" line and include other "-  " as nested sub-groutp of "* topic" ?</p>