Module Zed_re
type t
Type of compiled regular expressions.
val regexp_match : ?sem:CamomileLibrary.URe.match_semantics -> t -> Zed_rope.t -> int -> match_result
regexp_match ?sem regexp rope pos
tries to match regexp
on
given rope, starting at pos
.
val search_forward : ?sem:CamomileLibrary.URe.match_semantics -> t -> Zed_rope.t -> int -> match_result
search_forward ?sem regexp rope pos
searches the given regular
expression in rope
starting at pos
.
val search_backward : ?sem:CamomileLibrary.URe.match_semantics -> t -> Zed_rope.t -> int -> match_result
search_backward ?sem regexp rope pos
searches the given
regular expression in rope
starting at pos
, in reverse
order.