import re


def is_re(v):
    """
    Check value is valid regular expression

    >>> is_re("1{1,2}")
    True
    >>> is_re("1[")
    False
    """
    try:
        re.compile(v)
        return True
    except Exception:
        return False