News for hackers. Stuff that matters.
Re:Ask HN: Domain name searching by viggity on Saturday April 04, 2009 @11:56AM (#546393)
on further thought, it doesn't matter than it will match underscores, because the list of domains shouldn't have any underscores in them, but you would still want to look for underscores (maybe)

    ^nano[\w-]+\w+.com$
Re:Ask HN: Domain name searching by tdavis on Saturday April 04, 2009 @02:25PM (#546511)
Unless the service was in the habit of selling impossible domain names, it shouldn't matter ;)

I intentionally left out the hyphen because it isn't a very desirable character.