get a list of items from the list `some_list` that contain string 'abc',matching = [s for s in some_list if 'abc' in s]