Hi all,

Is this expected behavior?

>>> s = '123;abc'
>>> s.replace(';', '\;')
'123\\;abc'

I just wanted a single backslash. I can see why this probably happens
but i wondered if it is definitely intentional.

Thanks
Nick
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to