import re


def regex_match(value, pattern):
    """
    Match pattern in the value
    args:
        value (str): value that the pattern will compare against
        pattern (str): regex patten that need to be checked
    """
    return re.match(pattern, value)