• Seek re solution for the task "Between Markers"?

Question related to mission Between Markers

 

Can someone come up with a re solution for this task? I failed... I know re solution may not be the best for this task. Just curious. https://py.checkio.org/mission/between-markers/