package humane-re

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include S.Re with type str = string
type t
type str = string
module Group : sig ... end
val regexp : string -> t
val quote : str -> t
val matches : t -> str -> bool
val split : ?max:int -> t -> str -> str list
val split_delim : ?max:int -> t -> str -> [ `Delim of str | `Text of str ] list
val fold_left_groups : t -> str -> init:'a -> f:('a -> Group.t -> 'a) -> 'a
val find_groups : t -> str -> Group.t list
val find_concat_groups : t -> str -> str list
val fold_left_match : t -> str -> init:'a -> f:('a -> str S.substr -> 'a) -> 'a
val find_matches : t -> str -> string list
module Infix : sig ... end
OCaml

Innovation. Community. Security.