MmatchAll
Bun

method

ffi.CString.matchAll

regexp: RegExp
): RegExpStringIterator<RegExpExecArray>;

Matches a string with a regular expression, and returns an iterable of matches containing the results of that search.

@param regexp

A variable name or string literal containing the regular expression pattern and flags.