remove re.MULTILINE from regular expressions