Is there a regex pattern to match titles in the following reStructuredText-like text ? The difficulty is that the numbers of equal signs must be equal to the length of the title.
Some basic text.
=========
One Title
=========
For titles the numbers of sign `=` must be equal to the length of the text title.
=============
Another title
=============
And so on...