package pumping

  1. Overview
  2. Docs

Regular expressions

type t =
  1. | Epsilon
  2. | Chars of CSet.t
  3. | Atom of atom
  4. | Concat of t list
  5. | Alt of t * t
  6. | Inter of t * t
  7. | Rep of int * int option * t
val compare : 'a -> 'a -> int
val equal : 'a -> 'a -> bool
val epsilon : t
val void : t
val atom : atom -> t
val char : char -> t
val charset : CSet.elt list -> t
val enumerate : char -> char -> char list option
val concat : t list -> t
val alt : t -> t -> t
val inter : t -> t -> t
val rep : int -> int option -> t -> t
val star : t -> t
val plus : t -> t
val opt : t -> t
module Infix : sig ... end