>>> re.compile(r'\w++') re.error: multiple repeat at position 3
>>> word = re.compile(r'\w+') >>> word.findall('hello-there!') ['hello', 'there']