Let's say we have
"aaa - we want to match this : and this
aaa - and this : this too
aaa - and this : this as well : there can be many : more
aaa - there's more : and more
"
Let's say this is an entry so we come up with something like
(?P<start>aaa - )\s
((?P<section1>what-goes-here)\s:\s
)
My problem is with the sections how to say
section is everything until the next section
sections is all sections until the next <start>
and entries is all start->sections until the next entry,
(entry(start,section1+?(start)))+?(entry)