euglug.org

[Eug-lug] More advanced procmail voodoo

작성자

카테고리:



Bob MillerMon Dec 12 20:46:03 PST 2005

T. Joseph CARTER wrote:

> I am not familiar with r'' in python, since most of what I do has to work
> as far back as 1.5 or 2.0..  What's the deal with that?  =)

A leading r means don't parse backslash specially in a string literal.
r'\s' is the same as '\\s'.  Purely a readability thing.

-- 
Bob Miller                              K<bob>
                                        kbob at jogger-egg.com