The Python docs say:
re.MULTILINE: When specified, the pattern character \'^\' matches at the beginning of the string and at the beginning of each lin
re.sub('(?m)^//', '', s)