two or more whitespace regular expression?

Manuel Hendel manuel at hendel.net
Tue Sep 17 10:39:58 CEST 2002


On Sun, Sep 15, 2002 at 07:33:50AM +0000, Alex Martelli wrote:
> import re
> twoormorewhites = re.compile(r'\s\s+')
                               ^
What is the "r" for? I tried to find something about this in the docs
(Regular Expression HowTo , etc.) but I couldn't find anything.

manuel

-- 
When you teach your son, you teach your son's son. 
-The Talmund  




More information about the Python-list mailing list