Just a couple of minor points (because I can't quite grok your last sentence this late in the day):
- note that m// interpolates so your search will
match on 'domainacom' as well as 'domain.com'
- instead of if(!something){} I find unless(something){} more readable, and
that can sometimes help with the logic
--
I'd like to be able to assign to an luser