def get_diff(script):
    """
    Get regular expressions for recipy "diff"-related log information
    printed to console and recorded in database.

    This function assumes that the only change made to a file was the
    addition of a line with text "pass".

    :param script: script for which diff information was logged
    :type script: str or unicode
    :returns: regular expressions
    :rtype: list of str or unicode
    """
    return [
        r"---.*" + script + "\n",
        r"\+\+\+.*" + script + "\n",
        r"@@.*\n",
        r"\+pass.*\n"]