The user home directory prefix (~) is now only expanded when followed by a slash or backslash, or standing alone.