Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53530
| Date | 2013-09-03 07:30 +1000 |
|---|---|
| Subject | Re: How to split with "\" character, and licence copyleft mirror of (c) |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.517.1378157454.19984.python-list@python.org> (permalink) |
On Tue, Sep 3, 2013 at 6:22 AM, Ethan Furman <ethan@stoneleaf.us> wrote: > In a raw string, the backslash is buggy (IMNSHO) when it's the last > character. It's an inevitable consequence of using the backslash to escape the quote character. If instead, a raw string doubled the quote character (like in REXX), it'd need no other escape: r'\' --> '\\' r'''' --> "'" Too late to change now. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: How to split with "\" character, and licence copyleft mirror of (c) Chris Angelico <rosuav@gmail.com> - 2013-09-03 07:30 +1000
csiph-web