(value)
return re.compile(value).match
Return a predicate for use with a Criterion which matches a given regular
    expression.
Return a predicate for use with a Criterion which matches a given regular
    expression.
Return a predicate for use with a Criterion which matches a given regular expression .
def regexp_predicate(value):
    """
    Return a predicate for use with a Criterion which matches a given regular
    expression.
    """
    return re.compile(value).match
def regexp_predicate ( value ) : return re . compile ( value ) . match