Is there a function that has an effect of r'some string'?
For instance we have some variable s = 'a:b\nc', and we want to escape it somewhere later, so what function can do that?
re.escape escapes : too, so it isn't equivalent of r-prefix. Basically r-equivalent function should give a:b\\nc as a raw string, not a\:b\\nc, right?