package re

  1. Overview
  2. Docs

Emacs-style regular expressions

exception Parse_error
exception Not_supported

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

val re : ?case:bool -> string -> Re__.Core.t

Parsing of an Emacs-style regular expression

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

Regular expression compilation

val compile_pat : ?case:bool -> string -> Re__.Core.re

Same as Core.compile

OCaml

Innovation. Community. Security.