import re


def regex_positive_match(pattern, value):
    """
    Return False if the regex is "positive" and is NOT a complete match for
    the supplied value, True otherwise.
    """
    if pattern[0] == '~':
        # this is a negative regex, ignore
        return True
    return re.match(pattern + '\Z', value)