treat values kind of string to allow regexp validation