package re

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

Install

Dune Dependency

Authors

Maintainers

Sources

re-1.7.2.tbz
sha256=f04c5ab5278e8967aafe23ba3de1bf18a359d0a6ab19b6d7a37109f9882adad1
md5=d7c94a401d03f4688aabc60cd40217aa

doc/re.posix/Re_posix/index.html

Module Re_posixSource

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

XXX Character classes

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

Regular expression compilation

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

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

OCaml

Innovation. Community. Security.