Arc Forumnew | comments | leaders | submitlogin
3 points by earthboundkid 6081 days ago | link | parent

You could always do it the Python way: r"\D+" => '\\D+'

There's also u"" for Unicode strings (in Python <3.0) and b"" for byte strings (in Python >2.6).