pyre.constraints.Like

Module Contents

class pyre.constraints.Like.Like(regexp, **kwds)

Bases: pyre.constraints.Constraint.Constraint

Given a regular expression, a string satisfies this constraint if it matches the regular expression

validate(self, value, **kwds)

Check whether {value} satisfies this constraint

__str__(self)