```python
def string_literals(patterns,text):
    """
    Searches for a list of literal strings within a given text.

    Args:
        patterns: A list of strings to search for.
        text: The string to search within.

    Returns:
        A list of the patterns that were found in the text.
    """
    return [pattern for pattern in patterns if pattern in text]
```