I had text file wheree I applied below regex to find 8 groups.
groups = re.findall(r\'(?s)\\*TESTFLOW START.*?\\*TESTFLOW END:[^\\n]*\', data, re.DOTALL) But
groups = re.findall(r\'(?s)\\*TESTFLOW START.*?\\*TESTFLOW END:[^\\n]*\', data, re.DOTALL)