Use \\' instead of $