export default function getMatches(regex: RegExp, str: string): string[];