for pattern in pattern_list:
    l = fnmatch.filter(string_input.split(), pattern)
if l:
    pass
Python: check if any word in a list of words matches any pattern in a list of regular expression patterns