package re

  1. Overview
  2. Docs
RE is a regular expression library for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

re-1.10.3.tbz
sha256=846546967f3fe31765935dd40a6460a9424337ecce7b12727fcba49480790ebb
sha512=d02103b7b8b8d8bc797341dcc933554745427f3c1b51b54b4ac9ff81badfd68c94726c57548b08e00ca99f3e09741b54b6500e97c19fc0e8fcefd6dfbe71da7f

doc/re.perl/Re_perl/index.html

Module Re_perlSource

  • deprecated Use Re.Perl
include module type of struct include Re.Perl end
Sourceexception Parse_error
Sourceexception Not_supported

Errors that can be raised during the parsing of the regular expression

Sourcetype opt = [
  1. | `Ungreedy
  2. | `Dotall
  3. | `Dollar_endonly
  4. | `Multiline
  5. | `Anchored
  6. | `Caseless
]
Sourceval re : ?opts:opt list -> string -> Re__.Core.t

Parsing of a Perl-style regular expression

Sourceval compile : Re__.Core.t -> Re__.Core.re

(Same as Re.compile)

Sourceval compile_pat : ?opts:opt list -> string -> Re__.Core.re

Regular expression compilation

OCaml

Innovation. Community. Security.