package links

  1. Overview
  2. Docs
type repeat =
  1. | Star
  2. | Plus
  3. | Question
and regex =
  1. | Range of char * char
  2. | Simply of string
  3. | Quote of regex
  4. | Any
  5. | StartAnchor
  6. | EndAnchor
  7. | Seq of regex list
  8. | Alternate of regex * regex
  9. | Group of regex
  10. | Repeat of repeat * regex
  11. | Replace of regex * string
val pp_repeat : Ppx_deriving_runtime.Format.formatter -> repeat -> Ppx_deriving_runtime.unit
val show_repeat : repeat -> Ppx_deriving_runtime.string
val pp_regex : Ppx_deriving_runtime.Format.formatter -> regex -> Ppx_deriving_runtime.unit
val string_of_regex : regex -> string
val compile_ocaml : regex -> Links_core.Utility.Str.regexp
val tests : (string * regex * string * bool) list
val run_tests : (string * regex * string * bool) list -> unit
OCaml

Innovation. Community. Security.