I would like to use more than one flag with the re.findall function. More specifically, I would like to use the IGNORECASE and DOTALL
re.findall
IGNORECASE
DOTALL
Yes, but you have to OR them together:
x = re.findall(pattern=r'CAT.+?END', string='Cat \n eND', flags=re.I | re.DOTALL)