package re

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

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-re-1.3.2.tar.gz
sha256=3a34c3d6b6bf61e0d1eb9af74fa82c936809f7e48f8872fb6b11252c79a5d466
md5=1622796daf07397b266738e6710db4f3

doc/re.perl/Re_perl/index.html

Module Re_perl

Perl-style regular expressions

exception Parse_error
exception Not_supported

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

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

Parsing of a Perl-style regular expression

val compile : Re.t -> Re.re

Regular expression compilation

val compile_pat : ?opts:opt list -> string -> Re.re

(Same as Re.compile)

OCaml

Innovation. Community. Security.