type t = Js_of_ocaml.Regexp.regexpval t_of_js : Ojs.t -> Js_of_ocaml.Regexp.regexpval t_to_js : Js_of_ocaml.Regexp.regexp -> Ojs.ttype replacer =
matched:string ->
captures:string list ->
offset:int ->
string:string ->
stringval replace : string -> regexp:t -> replacer:replacer -> string