Using regex to detect ONLY double braces

Solution 1:

You can simply exclude the braces from the "contained string" with a character class:

strings = re.findall(r'\{\{[^{}]*\}\}', string)