package re

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

Install

Dune Dependency

Authors

Maintainers

Sources

re-1.11.0.tbz
sha256=01fc244780c0f6be72ae796b1fb750f367de18624fd75d07ee79782ed6df8d4f
sha512=3e3712cc1266ec1f27620f3508ea2ebba338f4083b07d8a69dccee1facfdc1971a6c39f9deea664d2a62fd7f2cfd2eae816ca4c274acfadaee992a3befc4b757

doc/re.posix/Re_posix/index.html

Module Re_posixSource

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

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

Sourcetype opt = [
  1. | `ICase
  2. | `NoSub
  3. | `Newline
]
Sourceval re : ?opts:opt list -> string -> Re__.Core.t

Parsing of a Posix extended regular expression

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

compile r is defined as Core.compile (Core.longest r)

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

compile_pat ?opts regex compiles the Posix extended regular expression regexp

OCaml

Innovation. Community. Security.