human
Python regex findall alternation behavior
assistant
Here is some code to find all digits in string '6,7)' and put them to a list

re.findall('\\d|\\d,\\d\\)', '6,7)')

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