Autocomplete.RegExpSourceA regular expression
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 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.