[Python-bugs-list] raw strings (PR#412)

tim_one@email.msn.com tim_one@email.msn.com
Mon, 24 Jul 2000 17:29:12 -0400 (EDT)


> Full_Name: Jeffrey Holle
> Version: 1.5.2
> OS: NT 4.0 sp5
> Submission from: (NULL) (63.99.162.140)
>
>
> The raw string syntax does not work if the last character in string is the
> escape character '\'.
>
> There is a work around.  using the normal literal string with a
> double escape.

Not a bug.  It's not that the last character can't be a backslash, it's that
a raw string can't end with an odd number of backslashes.  See the Python
FAQ for more details on this.