Python Regex Wyszukaj słowa między listą

# 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