You need the backslash \, when the following character has a special meaning. Whether that is required or not is context dependent. In a regex you have to backslash the [ character
because that character has a special meaning in a regex. But in a print statement this is not necessary.