Module Parser.Char
val any : char tany, unlike "." by default, matches newline.(However, note that
of_re2 (Re2.create_exn ".")will match newline. See the comment onof_re2for more information.)
val one_of : char list -> char tDuplicates in the lists given to
one_ofandnot_one_ofare ignored.
val not_one_of : char list -> char t
val upper : char tA character matching
Char.is_uppercase
val lower : char tA character matching
Char.is_lowercase
val alpha : char tA character matching
Char.is_alpha
val digit : char tA character matching
Char.is_digit
val alnum : char tA character matching
Char.is_alphanum
val space : char tA character matching
Char.is_whitespace