>>> name = re.compile(r'hello') >>> mo = name.search('They shouted out hellop to the crowd') >>> mo.group() 'hello'
name = re.compile('hello\b')
\b