package earley

  1. Overview
  2. Docs
type regexp =
  1. | Chr of char
  2. | Set of Charset.t
  3. | Seq of regexp list
  4. | Alt of regexp list
  5. | Opt of regexp
  6. | Str of regexp
  7. | Pls of regexp
  8. | Sav of regexp * string Pervasives.ref
exception Regexp_error of Input.buffer * int
val print_regexp : Pervasives.out_channel -> regexp -> unit
val accept_empty : regexp -> bool
val accepted_first_chars : regexp -> Charset.t
val regexp_from_string : string -> regexp * string Pervasives.ref array
val read_regexp : regexp -> Input.buffer -> int -> Input.buffer * int
OCaml

Innovation. Community. Security.