• + 2 comments

    r'(\d)(?=\d\1)' Can you please explain this part? What is the difference with this: r'(\d)(?=\d)\1'