module String: sig
.. end
String Validators
val any : Kwvalid.t
any
: considers any string valid.
val notnull : Kwvalid.t
notnull
: considers valid any string that is not the empty string (""
) .
val notblank : Kwvalid.t
notblank
: considers valid any non-empty string that does not consist solely of blanks (space, tab, carriage return and newline) .
val noblanks : Kwvalid.t
noblanks
: considers valid any string that does not contain any blanks.
val range : ?desc:string -> (char * char) list -> Kwvalid.t
range ranges
: considers valid any string that contains only characters from the given ranges.
val lowercase : Kwvalid.t
lowercase
: considers valid any string that contains only lowercase alphabetic characters
val uppercase : Kwvalid.t
uppercase
: considers valid any string that contains only uppercase alphabetic characters
val alphabetic : Kwvalid.t
alphabetic
: considers valid any string that contains only alphabetic characters
val alphanumeric : Kwvalid.t
alphanumeric
: considers valid any string that contains only alphanumeric characters