__expand: match dot with '\n'