How can I filter items from a list in Python?,"d = set([item for item in d if re.match('^[a-zA-Z]+$', item)])"