🌈 搜索
📅  最后修改于: 2022-03-11 14:47:13.356000             🧑  作者: Mango
>>> m = re.search(r'(?<=-)\w+', 'spam-egg') >>> m.group(0) 'egg'