package re2

  1. Overview
  2. Docs

See re2_c/libre2/re2/re2.h for documentation of these options.

module Encoding : sig ... end
type t = {
  1. case_sensitive : bool;
  2. dot_nl : bool;
  3. encoding : Encoding.t;
  4. literal : bool;
  5. log_errors : bool;
  6. longest_match : bool;
  7. max_mem : int;
  8. never_capture : bool;
  9. never_nl : bool;
  10. one_line : bool;
  11. perl_classes : bool;
  12. posix_syntax : bool;
  13. word_boundary : bool;
}
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
val sexp_of_t : t -> Sexplib0.Sexp.t
val default : t
val latin1 : t

latin1 = { default with encoding = Latin1 }

val noisy : t

noisy = { default with log_errors = true }

val posix : t

posix = { default with longest_match = true; posix_syntax = true }

module Private : sig ... end
module Stable : sig ... end
OCaml

Innovation. Community. Security.