sig
  type t
  val compile : ?cs:bool -> string -> Glob.t
  val exec : Glob.t -> string -> bool
  val quick : ?cs:bool -> string -> string -> bool
  val case_sensitive : Glob.t -> bool
  val escape : string -> string
  type re_style = [ `PCRE | `Str ]
  val regexp_of_glob :
    ?style:Glob.re_style -> ?glob:Glob.t -> ?pat:string -> unit -> string
end