[Tutor] wierd replace problem
Alan Gauld
alan.gauld at btinternet.com
Wed Sep 15 01:51:34 CEST 2010
"Steven D'Aprano" <steve at pearwood.info> wrote
>> OK,. Thats replacing a double slash in the data
>
> Er, surely not... I think you've confused backslashes and forward
> slashes. Or something. '\\' is a single backslash, not a double,
> because the first backslash is the escape character.
>
> A double backslash can be written '\\\\'.
Erk, you are right of course, he would need to use a raw string
to do it with a literal double slash. Silly me.
However, based on his post I still think his issue may be one
of represention not content.
Alan G.
More information about the Tutor
mailing list