type text = Text.t
type index = Text.index
module SubText : sig ... end
val compile : regexp -> compiled_regexp
val regexp_match : ?sem:CamomileLibrary.URe.match_semantics -> compiled_regexp -> text -> index -> SubText.t option array option
val string_match : compiled_regexp -> text -> index -> bool
val search_forward : ?sem:CamomileLibrary.URe.match_semantics -> compiled_regexp -> text -> index -> SubText.t option array option