parse the minLength attribute