TypedRegExp.exec()method

exec(input: string): TypedRegExpExecArray<T> | null