package ppx_orakuda

  1. Overview
  2. Docs
type token
type typ = {
  1. num_of_groups : int;
  2. named_groups : (string * int) list;
  3. callouts : int list;
  4. named_callouts : (string * int) list;
}
val from_string : string -> string * token list * string

Parse "regexp". Returns regexp in string and tokens, and its flags

val replace_from_string : string -> string * token list * string
val type_regexp : token list -> typ
val string_of_tokens : typ -> token list -> string
OCaml

Innovation. Community. Security.