[Tutor] Quick question,

Hugo González Monteverde hugonz-lists at h-lab.net
Fri Apr 7 19:06:40 CEST 2006

Carlos Benevides wrote:
> Hi,
> Can someone tell me what the r before the expression means, as in 
> "re.compile(r'(\.exe|\.zip|\.pif|\.scr|\.ps|\.pdf|\.ppt)$')"?

It is not specific to regular expressions, it is called a raw string.


More information about the Tutor mailing list