package liquidsoap-lang

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Liquidsoap_lang.RegexpSource

Sourcetype flag = [
  1. | `i
  2. | `g
  3. | `s
  4. | `m
]
Sourcetype sub = {
  1. matches : string option list;
  2. groups : (string * string) list;
}
Sourcemodule type T = sig ... end
include T
Sourcetype t
Sourceval regexp : ?flags:flag list -> string -> t
Sourceval split : t -> string -> string list
Sourceval exec : t -> string -> sub
Sourceval test : t -> string -> bool
Sourceval substitute : t -> subst:(string -> string) -> string -> string
Sourcetype regexp = < split : string -> string list ; exec : string -> sub ; test : string -> bool ; substitute : subst:(string -> string) -> string -> string >
Sourceval regexp_ref : (?flags:flag list -> string -> regexp) ref