Change multiline flags to 'm'