import re
incompleted_string1 = "Thom"
incompleted_string2 = "s Mueller naive"
entire_string = 'Thom.s Mueller naive' # <= dot means any char!!! I dont know which char is it
pattern = "mas M"
print (bool(re.search("".join([f"[{x}.]" for x in pattern]), entire_string)) )
aW1wb3J0IHJlCmluY29tcGxldGVkX3N0cmluZzEgPSAiVGhvbSIKaW5jb21wbGV0ZWRfc3RyaW5nMiA9ICJzIE11ZWxsZXIgbmFpdmUiCmVudGlyZV9zdHJpbmcgPSAnVGhvbS5zIE11ZWxsZXIgbmFpdmUnICAjIDw9IGRvdCBtZWFucyBhbnkgY2hhciEhISBJIGRvbnQga25vdyB3aGljaCBjaGFyIGlzIGl0CnBhdHRlcm4gPSAibWFzIE0iCnByaW50IChib29sKHJlLnNlYXJjaCgiIi5qb2luKFtmIlt7eH0uXSIgZm9yIHggaW4gcGF0dGVybl0pLCBlbnRpcmVfc3RyaW5nKSkgKQ==