human
Matching multiple regex patterns with the alternation operator?
assistant
Here is some code to get whatever is between parentheses as a single match, and any char outside as an individual match in string '(zyx)bc'

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

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