1__doc__ = u""" 2 >>> import re 3 >>> t 4 (u'2',) 5 >>> t == re.search('(\\d+)', '-2.80 98\\n').groups() 6 True 7""" 8 9import sys 10if sys.version_info[0] >= 3: 11 __doc__ = __doc__.replace(u"(u'", u"('") 12 13# this is a string constant test, not a test for 're' 14 15import re 16t = re.search(u'(\d+)', u'-2.80 98\n').groups() 17