[Python-Dev] Why both r'' and R'', u'' and U''?

Thomas Wouters thomas@xs4all.net
Sun, 14 Jan 2001 15:24:08 +0100


On Sun, Jan 14, 2001 at 04:38:42AM -0800, Ka-Ping Yee wrote:

> [1] We started with 4.  Perl has (by my count) 381 ways of starting
>     a string literal, so we're halfway there, logarithmically speaking.
>     Perl has 757 if you count the fancier operators qx, qw, s, and tr.

Don't forget 'qr//', which is quite like a raw string, except that Perl uses
it to 'precompile' regular expressions as a side effect. 

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!