add atmost/atleast/maxlength/minlength/repeat detect & config setting