package liquidsoap-lang

  1. Overview
  2. Docs
include Regexp.T with type t := regexp
val regexp : ?flags:Regexp.flag list -> string -> regexp
val split : regexp -> string -> string list
val exec : regexp -> string -> Regexp.sub
val test : regexp -> string -> bool
val substitute : regexp -> subst:(string -> string) -> string -> string
type sub = Regexp.sub = {
  1. matches : string option list;
  2. groups : (string * string) list;
}
OCaml

Innovation. Community. Security.