def string_literals(patterns, text):
    return [pattern for pattern in patterns if pattern in text]