If you (matograine) want to take over this tasks, I would suggest that you give a try on https://regex101.com/
with one line of the regex, try to find the good one to match Duniter PubSec format. I manage to do so.
this could be a good exercise for you to practice regular expressions
to do so, set:
Python on the left side
on right side of the first field, global, multiline
put the two regex in the first field
put the different PubSec formats
you will find help on the right side how things works
Once, you have found working regex for all PubSec format, add them to DuniterPy with tests there.
What could be nice is that this regex could be imported to silkaj to avoid duplication.
There is quite a lot for %0.8.0. We will simply fix PubSec format in Silkaj with #278 (closed).
And let all the improvements for an other milestone: this ticket.