Using backslash in Python regex is a way to escape special characters. For example, if you want to match a literal backslash, you need to use two backslashes in the regex. import re pattern = r"\\" if ...
This happens when editing the wiki. It only affects inline code blocks that have a single backslash; if there is any character following the backslash, no escape is needed and it appears just fine.