Using more than one flag in python re.findall April 3, 2023 by Tarik Yes, but you have to OR them together: x = re.findall(pattern=r'CAT.+?END', string='Cat \n eND', flags=re.I | re.DOTALL)