package re2

  1. Overview
  2. Docs
OCaml bindings for RE2, Google's regular expression library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=cde2fdedcf38297afb77dafbad3ca2eacee8ac70f84e84e05e88cf32bb1fb0bd

doc/re2/Re2/Stable/index.html

Module Re2.StableSource

Sourcemodule V2 : sig ... end

V2 serializes, compares and hashes the pattern and the all currently known options, except max_mem. If Re2 gained a new option, we would have to mint a V3.t as the V2 format would not support this option. How we support such an upgrade (raise, drop the option, smash the tree) will have to considered then.

Sourcemodule V1_no_options : sig ... end

V1_no_options is the legacy serialization: pattern only, options are lost.

OCaml

Innovation. Community. Security.