package re

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

Install

Dune Dependency

Authors

Maintainers

Sources

re-1.10.4.tbz
sha256=83eb3e4300aa9b1dc7820749010f4362ea83524742130524d78c20ce99ca747c
sha512=92b05cf92c389fa8c753f2acca837b15dd05a4a2e8e2bec7a269d2e14c35b1a786d394258376648f80b4b99250ba1900cfe68230b8385aeac153149d9ce56099

doc/re/Re/Perl/index.html

Module Re.PerlSource

Perl-style regular expressions

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.