When I run these lines in a python console
from re import match
temp = "THIS/THAT"
match("^[A-Z]+/[A-Z]+$", temp)
match("^[A-Z]+\/[A-Z]+$", temp)
Both matches print out
<re.Match object; span=(0, 9), match='THIS/THAT'>
Why the backslash (or escaped forward slash) have no effect on the results?