Regex boundary matching implementation

The regex check uses word boundary lookarounds that permit leading dots to catch subdomains while preventing partial domain collisions.