val any : char t
any, unlike "." by default, matches newline.
any
(However, note that of_re2 (Re2.create_exn ".") will match newline. See the comment on of_re2 for more information.)
of_re2 (Re2.create_exn ".")
of_re2
val one_of : char list ‑> char t
Duplicates in the lists given to one_of and not_one_of are ignored.
one_of
not_one_of
val not_one_of : char list ‑> char t
val upper : char t
A character matching Char.is_uppercase
Char.is_uppercase
val lower : char t
A character matching Char.is_lowercase
Char.is_lowercase
val alpha : char t
A character matching Char.is_alpha
Char.is_alpha
val digit : char t
A character matching Char.is_digit
Char.is_digit
val alnum : char t
A character matching Char.is_alphanum
Char.is_alphanum
val space : char t
A character matching Char.is_whitespace
Char.is_whitespace