*/
export function normalizeDomain(value: string | undefined, fromUrl: boolean = false): string | undefined {
return undefined;
}
const normalized = value.trim().toLowerCase().replace(/^[^@]+@/, '').replace(/:\d+$/, '').replace(/\.+$/, '');
if (!normalized || normalized.includes('/') || normalized === '.' || normalized === '..') {
domainMatcher.ts
return undefined;
}