def configure(self, min=None, max=None):
        # Depending on the value of min, allow it to match a negation.
        if min is None or min < 0:
            self.regex = "(-?\d+(?:\.\d+)?)"
        else:
            self.regex = "(\d+(?:\.\d+)?)"

        self.min = min
        self.max = max
dataset/ETHPy150Open ecdavis/pants/pants/web/application.py/Float.configure/original