Ocaml Re Versions Save

Pure OCaml regular expressions, with support for Perl and POSIX-style strings

1.11.0

8 months ago

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

2 years ago

CHANGES:

  • Improve handling of word boundaries (#179)

1.10.3

2 years ago

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

2 years ago

CHANGES:

  • Fix missing aliases introduced in 1.10.1

1.10.1

2 years ago

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

2 years ago

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

5 years ago

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

5 years ago

CHANGES:

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

1.7.3

6 years ago

1.7.3 (05-Mar-2018)

  • Remove dependency on bytes package (#155)

1.7.2

6 years ago

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.