📅  最后修改于: 2022-03-11 14:45:24.940000             🧑  作者: Mango
re.search(r'cake$', "Cake! Let's eat cake").group()
## The next search will return the NONE value, try it:
re.search(r'cake$', "Let's get some cake on our way home!").group()