I have this regular expression -
(?P<Title>.+)(?P<ReleaseYear>([0-9]+))|(?P<Title>.+)(?P<Prginfo>-[0-9])|(?P<Title>.+)(?P<Prginfo>\s+\d+\s+сезон\s*)|(?P<Title>.+)(?P<Prginfo>\s+сезон\s*\d+)|(?P<Title>.+)
This works perfectly fine in .NET code. But when I try to use it in python I am getting error - "sre_constants.error: redefinition of group name 'Title' as group 3; was group 1"