Regulatory and spending challenges shouldn't scare away investors.