import re


def find_pattern(pattern, text):
    """
    Find pattern in multiline string

    Args:
        pattern (str): Regular expression pattern
        text (str): string to search in

    Returns:
        Match object if the pattern is found, None otherwise
    """
    for line in text.splitlines():
        found = re.match(pattern, line)
        if found:
            return found
    return None