export const normalizeRegex = (string: string) => { return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); };