Pure OCaml regular expressions, with support for Perl and POSIX-style strings
CHANGES:
Re.group_count
to get the number of groups in a compiled regex (#218)Re.exec_partial_detailed
to allow resuming searches from partial inputs
(#219)Re.Perl
's Parse_error
and Not_supported
exceptions
in Pcre (#222)DOTALL
flag in Re.Pcre.regexp
(#225)Re.Perl
(#227)CHANGES:
CHANGES:
?backslash_escapes
to ?match_backslashes
.
The interpretation of backslashes in the glob pattern remains unchanged with
the new option, but forward slashes match backslashes when activated (#199)CHANGES:
CHANGES:
Glob: add optional argument ?backslash_escapes
to control interpretation of
backslashes (useful under Windows) (#197, #198)
Restore accidentally deleted *_seq
deprecated aliases.
CHANGES:
[:alpha:]
character class in Re.Perl
(#169)**
) in Re.Glob
(#172)
Like *
but also match /
characters when pathname
is set.CHANGES:
Re.exec_partial
(#164)Re.Gen
and deprecate the old names (#167)Re.View
that exposes the internal representation (#163)CHANGES: