1/// <reference lib="es2015.iterable" /> 2 3interface String { 4 /** 5 * Matches a string with a regular expression, and returns an iterable of matches 6 * containing the results of that search. 7 * @param regexp A variable name or string literal containing the regular expression pattern and flags. 8 */ 9 matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>; 10} 11