package re2
-
re2.c
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val any : char t
any
, unlike "." by default, matches newline.
(However, note that of_re2 (Re2.create_exn ".")
will match newline. See the comment on of_re2
for more information.)
val one_of : char list -> char t
Duplicates in the lists given to one_of
and not_one_of
are ignored.
val not_one_of : char list -> char t
The following 6 values match the Re2 character classes with the same name.
val upper : char t
A character matching Char.is_uppercase
val lower : char t
A character matching Char.is_lowercase
val alpha : char t
A character matching Char.is_alpha
val digit : char t
A character matching Char.is_digit
val alnum : char t
A character matching Char.is_alphanum
val space : char t
A character matching Char.is_whitespace