Supplying ~update_last_match:true to a searching function causes Emacs to keep track
of the "last match", i.e. the start and end positions of the segments of text found
during the search. One can access parts of the last match via the Last_match
functions. subexp is one based.
(Info-goto-node "(elisp)Match Data")
include sig ... endval sexp_of_t : t ‑> Base.Sexp.tval save : (unit ‑> 'a) ‑> 'a(describe-function 'save-match-data)(Info-goto-node "(elisp)Saving Match Data")
val text_exn : ?subexp:int ‑> ?text_properties:bool ‑> unit ‑> Ecaml.Text.ttext_exn returns the text of the last match, or the subexp'th parenthesized
subexpression.
(describe-function 'match-string)(Info-goto-node "(elisp)Simple Match Data")
val start_exn : ?subexp:int ‑> unit ‑> intstart_exn returns the index of the start of the last match, or the subexp'th
parenthesized subexpression.
(describe-function 'match-beginning)(Info-goto-node "(elisp)Simple Match Data")
val end_exn : ?subexp:int ‑> unit ‑> intend_exn returns the index after the end of the last match, or the subexp'th
parenthesized subexpression.
(describe-function 'match-end)(Info-goto-node "(elisp)Simple Match Data")
module Private : sig ... end