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 show_repeat : repeat -> Ppx_deriving_runtime.string
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.