Hi,
I'm trying to match a sequence of text with backslashed in it, like a windows path.
Now, when I match with regexp in python, it gets the match, but the module interprets all backslashes followed by a valid escape char (i.e. t
) as an escape sequence, which is not what I want.
How do I get it not to do that?
Thanks /m
EDIT: well, i missed that the regexp that matches the text that contains the backslash is a (.*). I've tried the raw notation (examplefied in the awnsers), but it does not help in my situation. Or im doing it wrong. EDIT2: Did it wrong. Thanks guys/girls!