// After "://", each "." or "-" and each later "/": the places an address may wrap. export const addressParts = (href: string): string[] => href.split(/(?<=:\/\/|[.-]|[^:/]\/)/).filter(Boolean);