candlepin/subscription-manager — pull request #262 by jmrodri (2012-09-17 14:35:48+00:00)
Title: make regex better

valid ones
----------
subscription.rhn.foo.bar.redhat.com
subscription.rhn.stage.redhat.com
subscription.rhn.qa.redhat.com
subscription.rhn.qa.fun.usersys.redhat.com
subscription.rhn.stage-qa.redhat.com
subscription.rhn.redhat.com

invalid ones
------------
subscription.redhat.com
subscription.usersys.rehdat.com
subscription.rhn.stagefoobarredhat.com