Skip to content

Releases: ocaml/ocaml-re

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.

1.10.0

25 Aug 21:08
Compare
Choose a tag to compare

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

06 Apr 07:10
Compare
Choose a tag to compare

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

04 Aug 15:27
Compare
Choose a tag to compare

CHANGES:

  • Fix index-out-of-bounds exception in Re.Perl.re (#160)
  • Add seq based iterators (#170)

1.7.3

15 Mar 14:10
Compare
Choose a tag to compare

1.7.3 (05-Mar-2018)

  • Remove dependency on bytes package (#155)

1.7.2

28 Feb 19:47
Compare
Choose a tag to compare

1.7.2 (01-Mar-2018)

  • Deprecate all Re_* modules. Re_x is now available as Re.X
  • Deprecate all re.x sub libraries. Those are all available as Re.X
  • Make all function in Re.Str tail recursive.