Suppose there is such a regular expression (pattern):
r'<[a-zA-Z-]+:[a-zA-Z-]+ [a-zA-Z]+="([a-zA-Z-]+:[a-zA-Z]+)"><([a-zA-Z-]+:[a-zA-Z_]+)>[a-zA-Z0-9]+</[a-zA-Z-]+:[a-zA-Z_]+>'
Is it possible to describe that a certain part of a regular expression should be repeated a certain number of times (unknown in advance), for example: <([a-zA-Z-]+:[a-zA-Z_]+)>[a-zA-Z0-9]+</[a-zA-Z-]+:[a-zA-Z_]+> ?
I tried using {,}, but as I understood, this operator (?) Is only suitable for enumerating characters. I ask for your help