def __init__ ( self, minlen = 0, maxlen = sys.maxint, regex = '' ):
        self.minlen = max( 0, minlen )
        self.maxlen = max( self.minlen, maxlen )
        self.regex  = regex
        self._init()
Creates a TraitString handler.
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitString.__init__