oktw says to #ysitd <seadog007>: import re p = re.compile(ur'ab') test_str = u"abcabcabcabcabcabc" re.findall(p, test_str)