optimize ThingDb.Parse method

Reduces startup time on my machine by about 30%. Reconstructing a Regex
over and over was really slowing things down.