最佳答案
>>> match = re.findall(r'\w\w', 'hello')
>>> print match
['he', 'll']
Since \w\w means two characters, 'he' and 'll' are expected. But why do 'el' and 'lo' not match the regex?
>>> match1 = re.findall(r'el', 'hello')
>>> print match1
['el']
>>>