human
Matching multiple regex patterns with the alternation operator?
assistant
Here is some code to match multiple regex patterns with the alternation operator `|` in a string `(zyx)bc`

re.findall('\\(.*?\\)|\\w', '(zyx)bc')

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