Specify re.MULTILINE to make regex match better