How to get indexes of groups in a match in regex in Python? : <p>I want to get indexes of a group in matches in regex. Notice image below:</p>

<p><a href="https://i.stack.imgur.com/edFV8.jpg" rel="nofollow noreferrer">image link</a></p>

<p>You can see it founded 3 matches. The left side shows Match's indexes and Group 1's indexes. I want to get Group 1's indexes in Python, How can i do it? There is a image below that shows what are Python's returns:</p>

<p><a href="https://i.stack.imgur.com/Xg3BT.jpg" rel="nofollow noreferrer">failed Python code to get Group's indexes</a></p>
