Human: Python regex - Ignore parenthesis as indexing? Assistant: 
Here is some code to match regex pattern '((?:A|B|C)D)' on string 'BDE'

re.findall('((?:A|B|C)D)', 'BDE')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.