links

The Links Programming Language
IN THIS PACKAGE
Module Links_core . Regex
type repeat =
| Star
| Plus
| Question
and regex =
| Range of char * char
| Simply of string
| Quote of regex
| Any
| StartAnchor
| EndAnchor
| Seq of regex list
| Alternate of regex * regex
| Group of regex
| Repeat of repeat * regex
| Replace of regex * string
val show_repeat : repeat -> Ppx_deriving_runtime.string
val string_of_regex : regex -> string
val compile_ocaml : regex -> Utility.Str.regexp
val tests : (string * regex * string * bool) list
val run_tests : (string * regex * string * bool) list -> unit