sig
  type t
  type match_result = (Zed_rope.Zip.t * Zed_rope.Zip.t) option array option
  val compile : CamomileLibrary.URe.regexp -> Zed_re.t
  val regexp_match :
    ?sem:CamomileLibrary.URe.match_semantics ->
    Zed_re.t -> Zed_rope.t -> int -> Zed_re.match_result
  val search_forward :
    ?sem:CamomileLibrary.URe.match_semantics ->
    Zed_re.t -> Zed_rope.t -> int -> Zed_re.match_result
  val search_backward :
    ?sem:CamomileLibrary.URe.match_semantics ->
    Zed_re.t -> Zed_rope.t -> int -> Zed_re.match_result
end