package re

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.14.0.tar.gz
md5=03f4a83100cb9229a796b85c698076e1
sha512=cd2cc39f951ca6b7be631bbb5531ed13bc040e629842671bf6fef3911b20ef1653fa9a1f0aa23b094d252cffc9a9efe7ffca69e50d362ab935bc0cc447548124

doc/re.emacs/Re_emacs/index.html

Module Re_emacsSource

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

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

Sourceval re : ?case:bool -> string -> (Re__.Ast.cset, [ `Cased | `Uncased ]) Re__.Ast.gen

Parsing of an Emacs-style regular expression

Sourceval re_result : ?case:bool -> string -> ((Re__.Ast.cset, [ `Cased | `Uncased ]) Re__.Ast.gen, [ `Not_supported | `Parse_error ]) result
Sourceval compile : (Re__.Ast.cset, [ `Cased | `Uncased ]) Re__.Ast.gen -> Re__.Compile.re

Regular expression compilation

Sourceval compile_pat : ?case:bool -> string -> Re__.Compile.re

Same as Core.compile

Sourceval re_no_emacs : case:bool -> string -> (Re__.Ast.cset, [ `Cased | `Uncased ]) Re__.Ast.gen