package quickjs

  1. Overview
  2. Docs
type t
type result
val compile : string -> string -> t
val lastIndex : t -> int
val setLastIndex : t -> int -> unit
val flags : t -> string
val global : t -> bool
val ignorecase : t -> bool
val multiline : t -> bool
val dotall : t -> bool
val sticky : t -> bool
val unicode : t -> bool
val source : t -> string
val test : t -> string -> bool
val exec : t -> string -> result
val captures : result -> string array
val input : result -> string
val index : result -> int
OCaml

Innovation. Community. Security.