re.compile versus r''

Terrence Brannon metaperl at gmail.com
Thu Aug 28 21:27:41 CEST 2008


Oh my god, how embarrassing. the r'' notation is to create raw string
<http://www.swc.scipy.org/lec/glossary.html#gdef-raw_string>

I thought it was some form of blessing a string into a regular
expression class.




More information about the Python-list mailing list