python regex recherche un mot parmi la liste

# credit to the Stack Overflow user in the source link

import re
string_list = ['fun', 'dum', 'sun', 'gum']
s = "I love to have fun."

re.findall(r"(?=("+'|'.join(string_list)+r"))", s)
>>> ['fun']
wolf-like_hunter