Backslashes Are Complicated

Let's find out how backlashes are complicated in Python.

Overview of backlashes

Backslashes are a bit complicated in Python’s regular expressions. The reason is that regular expressions use backslashes to indicate special forms or to allow a special character to be searched for instead of invoking it, such as when we want to search ...