package liquidsoap-lang

  1. Overview
  2. Docs
type sub = Regexp.sub = {
  1. matches : string option list;
  2. groups : (string * string) list;
}
val regexp : ?flags:[ `g | `i | `m | `s ] list -> string -> Builtins_regexp.regexp
val split : Builtins_regexp.regexp -> string -> string list
val exec : Builtins_regexp.regexp -> string -> Regexp.sub
val test : Builtins_regexp.regexp -> string -> bool
val substitute : Builtins_regexp.regexp -> subst:(string -> string) -> string -> string
OCaml

Innovation. Community. Security.