package zed
Abstract engine for text edition in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
3.1.0.tar.gz
sha256=c387b0496c34c7eb680999e751525992e3e636a803297480ef004498887625fd
md5=51e8676ba972e5ad727633c161e404b1
doc/zed/Zed_re/Core/index.html
Module Zed_re.Core
Source
Source
module Re :
CamomileLibrary.URe.Type
with type text = Zed_rope.Text_core.t
and type index = Zed_rope.Text_core.index
Type of compiled regular expressions.
Type of a match result. If the match fail, None
is returned. Otherwise an array of matched sub-strings is returned, the index 0
corresponding to the full match, and other indexes to matched groups.
compile regexp
compiles the given regular expression.
Source
val regexp_match :
?sem:CamomileLibrary.URe.match_semantics ->
t ->
Zed_rope.t ->
int ->
(Re.index * Re.index) option array option
regexp_match ?sem regexp rope pos
tries to match regexp
on given rope, starting at pos
.
Source
val search_forward :
?sem:CamomileLibrary.URe.match_semantics ->
t ->
Zed_rope.t ->
int ->
(Re.index * Re.index) option array option
search_forward ?sem regexp rope pos
searches the given regular expression in rope
starting at pos
.
Source
val search_backward :
?sem:CamomileLibrary.URe.match_semantics ->
t ->
Zed_rope.t ->
int ->
(Re.index * Re.index) option array option
search_backward ?sem regexp rope pos
searches the given regular expression in rope
starting at pos
, in reverse order.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>