-
Introduce [Re.Pcre.get_named_substring_opt]. A non raising version of [Re.Pcre.get_named_substring] (#525)
-
Introduce parsing functions in
Re.{Perl,Pcre,Emacs,Glob}
that return a result instead of raising. (#542) -
Introduce experimental streaming API
Re.Stream
. (#456) -
Make [Re.Str] functions tail recursive (#539)
-
Fix [Re.Pcre.split]. Regression introduced in 1.12 and a previous bug with [Re.Pcre.split] (#538).
-
Avoid parsing unnecessary patterns supported
Re.Emacs
inRe.Str
(#563)
- Fix re on jsoo (#150)
-
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].
- 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)
- 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
'sParse_error
andNot_supported
exceptions in Pcre (#222) - Add support for
DOTALL
flag inRe.Pcre.regexp
(#225) - Add support for named groups (#223)
- Add support for some control characters in
Re.Perl
(#227)
- Improve handling of word boundaries (#179)
- 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)
- Fix missing aliases introduced in 1.10.1
-
Glob: add optional argument
?backslash_escapes
to control interpretation of backslashes (useful under Windows) (#197, #198) -
Restore accidentally deleted
*_seq
deprecated aliases.
- Add the
[:alpha:]
character class inRe.Perl
(#169) - Double asterisk (
**
) inRe.Glob
(#172) Like*
but also match/
characters whenpathname
is set. - Double asterisk should match 0 or more directories unless in trailing position. (#192, fixes #185)
- 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)
- Fix index-out-of-bounds exception in Re.Perl.re (#160)
- Add seq based iterators (#170)
- Remove dependency on bytes package (#155)
- 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.
- Fix Re_str.global_replace (#132)
- Fix stack overflow in Re_str.full_split
- Use correct exceptions in Re_str group functions
- Add experimental Re.witness
- Add experimental Re.Group.nb_groups
- Fix Re.pp (#101)
- Add Re.Group.pp (#102)
- Add Re.pp and Re.pp_re (#55)
- Fix ocamldoc syntax (#87)
- Add Re.exec_opt. Like exec but doesn't raise
- Add Group module. Old group accessors are deprecated.
- Add Mark module
- Improve docs of Re.repn
- Improve docs of Re_pcre
- Fix doc of Re_pcre.match
- Consolidate variants of Re.glob that takes options to modify its behavior (?period, ?expand_braces). Old variants are deprecated.
- New option ?pathname added for Re_glob.glob. Controls how the
/
character is matched
- Fix 4.00.1 compatibilty with tests.
- Add Re.{mark,marked,mark_set}. Regexps can now be "marked" to query post execution if they matched.
- Fix replacing 0 length matches (#55)
- Rename {Cset, Automata} to {Re_cset, Re_automata}
- Add Re.split{,_gen,_token,_full,_full_gen}
- Add Re.replace{,_string}
- Add Re.all{,_gen}
- Add posix classes of the form [:xxx:]
- Add complement suport for posix classes
- Add Multiline and anchored flag to Re_pcre
- Add Re_pcre.full_split
- Add a Re.whole_string convenience function to only match whole strings
- Add a ?anchored parameter to functions in Re_glob to specify whole string matching
- Document Re_glob module
- Fix compilation of submatches occurring inside a Kleen star
- Fix word boundary matching
- Fix definition of Re.xdigit
- Fix Re.exec_partial function
- Fix compilation of patterns of the shape r1r2|r1r3
- Fixed compilation of re.cmxs (Vincent Bernardoff)
- Improved matching of anchored regular expressions: stop as soon as we know there cannot possibly be any match.
- Updated to OASIS 0.4.x (Vincent Bernardoff)
- Add the linking exception to the license
- Correct OASIS metadata (Christophe Troestler).
- Fix typo in Invalid_arg error message (Jeremy Yallop).
- Rename Pcre module to
Re_pcre
to make it more suitable for upstream packaging (it currently conflicts with thePcre
package). (Mehdi Dogguy).
- Add a basic Pcre wrapper around Re_perl for porting applications using that API (Thomas Gazagnaire).
- Initial public release.