Re: r"string" vs R"string

2010-01-18 Thread Terry Reedy
On 1/18/2010 8:01 AM, Colin W. wrote: On 17-Jan-10 18:27 PM, Steven D'Aprano wrote: On Sun, 17 Jan 2010 11:13:48 -0500, Roy Smith wrote: In article, "Colin W." wrote: On 17-Jan-10 02:16 AM, Terry Reedy wrote: On 1/17/2010 1:55 AM, Brendan Miller wrote: Is there any difference whatsoever be

Re: r"string" vs R"string

2010-01-18 Thread Colin W.
On 17-Jan-10 18:27 PM, Steven D'Aprano wrote: On Sun, 17 Jan 2010 11:13:48 -0500, Roy Smith wrote: In article, "Colin W." wrote: On 17-Jan-10 02:16 AM, Terry Reedy wrote: On 1/17/2010 1:55 AM, Brendan Miller wrote: Is there any difference whatsoever between a raw string beginning with th

Re: r"string" vs R"string

2010-01-17 Thread Steven D'Aprano
On Sun, 17 Jan 2010 11:13:48 -0500, Roy Smith wrote: > In article , > "Colin W." wrote: > >> On 17-Jan-10 02:16 AM, Terry Reedy wrote: >> > On 1/17/2010 1:55 AM, Brendan Miller wrote: >> >> Is there any difference whatsoever between a raw string beginning >> >> with the captical R or one with t

Re: r"string" vs R"string

2010-01-17 Thread Aahz
In article , Colin W. wrote: >On 17-Jan-10 02:16 AM, Terry Reedy wrote: >> On 1/17/2010 1:55 AM, Brendan Miller wrote: >>> >>> Is there any difference whatsoever between a raw string beginning with >>> the captical R or one with the lower case r e.g. r"string" vs >>> R"string"? >> >> No. Nor is th

Re: r"string" vs R"string

2010-01-17 Thread Roy Smith
In article , "Colin W." wrote: > On 17-Jan-10 02:16 AM, Terry Reedy wrote: > > On 1/17/2010 1:55 AM, Brendan Miller wrote: > >> Is there any difference whatsoever between a raw string beginning with > >> the captical R or one with the lower case r e.g. r"string" vs > >> R"string"? > > > > No. No

Re: r"string" vs R"string

2010-01-17 Thread Colin W.
On 17-Jan-10 02:16 AM, Terry Reedy wrote: On 1/17/2010 1:55 AM, Brendan Miller wrote: Is there any difference whatsoever between a raw string beginning with the captical R or one with the lower case r e.g. r"string" vs R"string"? No. Nor is there and difference between the strings created with

Re: r"string" vs R"string

2010-01-16 Thread Terry Reedy
On 1/17/2010 1:55 AM, Brendan Miller wrote: Is there any difference whatsoever between a raw string beginning with the captical R or one with the lower case r e.g. r"string" vs R"string"? No. Nor is there and difference between the strings created with raw literals and cooked literals. -- h

Re: r"string" vs R"string

2010-01-16 Thread Ben Finney
Brendan Miller writes: > Is there any difference whatsoever between a raw string beginning with > the captical R or one with the lower case r e.g. r"string" vs > R"string"? For answering questions like this, the Python language reference is your friend: String literals may optionally be pre