What is the correct way to match/search a backslash with regular expressions? print re.match('\\m', '\\m').group(0) raises an error while print re.search('\\m', '\\m').group(0) yields 'm' print re.search('\\m', '\m').group(0) yields 'm' print re.search('\\m', 'm').group(0) yields 'm' Any helpful comment on this would be appreciated, Károly