You probably don't want to remove trailing spaces that come after a backslash, like this one.