import re
text='Hi,I am Shirley Hilton.I am his wife.'
m=re.findall('\bhi',text)
print(m)
为什么这样匹配不到?
按理说应该匹配到‘his'里面的’hi'吧