package ocamlformat-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = Base__String.Search_pattern.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?case_sensitive:bool -> string -> t
val pattern : t -> string
val case_sensitive : t -> bool
val matches : t -> string -> bool
val index : ?pos:int -> t -> in_:string -> int option
val index_exn : ?pos:int -> t -> in_:string -> int
val index_all : t -> may_overlap:bool -> in_:string -> int list
val replace_first : ?pos:int -> t -> in_:string -> with_:string -> string
val replace_all : t -> in_:string -> with_:string -> string
val split_on : t -> string -> string list
module Private : sig ... end
OCaml

Innovation. Community. Security.