Skip to content

Releases: ocaml/ocaml-re

1.13.3

02 Oct 10:51
5586c57
Compare
Choose a tag to compare

Remove unboxed options. Although the implementation looks fine (it was taken from dune), the performance benefit seems negligible.

1.13.2

01 Oct 10:37
f596237
Compare
Choose a tag to compare

Make some internal functions available for private use. No user visible changes.

1.13.1

01 Oct 10:13
4a1b435
Compare
Choose a tag to compare

1.13.1 (30-Sep-2024)

  • Fix re on jsoo (#150)

1.13.0

30 Sep 13:24
ee485b4
Compare
Choose a tag to compare

1.13.0 (30-Sep-2024)

  • Add non raising versions of all [Re.Group] functions (#414, fixes #150)

  • Add support for hex and octal of the form: \o{...} and \x{...} (#403)

  • Add support for octal characters using \0dd and \ddd (#402)

  • Add support for \Q...\E quoted expressions in Pcre and Perl syntax (#401)

  • Re.execp and related function raise [Invalid_argument "$function"] when [pos]
    or [len] arguments are out of bounds. In 1.12.0, a regerssion was introduced
    that raised [Invalid_argument _] from [String.get].

1.12.0

28 Aug 05:47
f096726
Compare
Choose a tag to compare

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

19 Aug 10:54
Compare
Choose a tag to compare

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

27 Apr 18:13
Compare
Choose a tag to compare

CHANGES:

  • Improve handling of word boundaries (#179)

1.10.3

13 Sep 19:28
Compare
Choose a tag to compare

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

09 Sep 16:28
Compare
Choose a tag to compare

CHANGES:

  • Fix missing aliases introduced in 1.10.1

1.10.1

09 Sep 05:54
Compare
Choose a tag to compare

CHANGES:

  • Glob: add optional argument ?backslash_escapes to control interpretation of
    backslashes (useful under Windows) (#197, #198)

  • Restore accidentally deleted *_seq deprecated aliases.