Module Autocomplete.RegExpSource
A regular expression
include Jv.CONV with type t := Autocomplete.RegExp.t
val to_jv : Autocomplete.RegExp.t -> Jv.jvto_jv reveals the JavaScript implementation.
val of_jv : Jv.jv -> Autocomplete.RegExp.tof_jv hides the JavaScript implementation. Implementations usually do not guarantee type safety.
Create a regular expression from a string. Internally this uses new RegExp(s) which has it's own documentation. Note we pass noo flags at the moment.
The result of executing a regular expression search on a string
The matched text
0-based index of the match in the string
Each entry is a substring match of (start, end_)
The matches for the parennthetical capture groups
exec t s using the regular expression t to execute a search for a match in a specified string s.