Karen Loughran wrote: > . But because it isn't raw it won't match. I fear you have a misconception about raw strings. r"\abc" "\\abc" and chr(92) + "abc" are exactly the same strings when written in Python source code. If your strings do not match, it has nothing to do with "rawness". Peter