Releases: ocaml/ocaml-re
Releases · ocaml/ocaml-re
1.12.0
CHANGES:
- Add
Re.split_delim
(#233)
- Fix handling of empty matches in splitting and substitution functions (#233)
- Add support for character classes in
Re.Posix
(#263)
1.11.0
CHANGES:
- Add
Re.group_count
to get the number of groups in a compiled regex (#218)
- Add
Re.exec_partial_detailed
to allow resuming searches from partial inputs
(#219)
- Re-export
Re.Perl
's Parse_error
and Not_supported
exceptions
in Pcre (#222)
- Add support for
DOTALL
flag in Re.Pcre.regexp
(#225)
- Add support for named groups (#223)
- Add support for some control characters in
Re.Perl
(#227)
1.10.4
CHANGES:
- Improve handling of word boundaries (#179)
1.10.3
CHANGES:
- Glob: change optional argument
?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)
1.10.2
CHANGES:
- Fix missing aliases introduced in 1.10.1
1.10.1
CHANGES:
-
Glob: add optional argument ?backslash_escapes
to control interpretation of
backslashes (useful under Windows) (#197, #198)
-
Restore accidentally deleted *_seq
deprecated aliases.
1.10.0
CHANGES:
- Add the
[:alpha:]
character class in Re.Perl
(#169)
- Double asterisk (
**
) in Re.Glob
(#172)
Like *
but also match /
characters when pathname
is set.
- Double asterisk should match 0 or more directories unless in trailing
position. (#192, fixes #185)
1.9.0
CHANGES:
- Fix regression in
Re.exec_partial
(#164)
- Mov gen related functions to
Re.Gen
and deprecate the old names (#167)
- Introduce
Re.View
that exposes the internal representation (#163)
1.8.0
CHANGES:
- Fix index-out-of-bounds exception in Re.Perl.re (#160)
- Add seq based iterators (#170)
1.7.3
1.7.3 (05-Mar-2018)
- Remove dependency on bytes package (#155)