package re

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.13.2.tar.gz
md5=df37d9787450525a2182ce4364048d11
sha512=376b3ba1e351317a34b4c9a331fdc9ca5ae7c6a90eb2eb3393403a33b9f35ece63af7444a7c0c71ef29d512aa7fe56f7e485a118946e35d90039ddfd9127c020

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__.Ast.cset, [ `Cased | `Uncased ]) Re__.Ast.gen

Parsing of a Perl-style regular expression

Sourceval compile : (Re__.Ast.cset, [ `Cased | `Uncased ]) Re__.Ast.gen -> Re__.Compile.re

(Same as Re.compile)

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

Regular expression compilation

OCaml

Innovation. Community. Security.