wilsonpage/express-subdomain-handler — pull request #6 by jaycetde (2014-12-30 18:21:55+00:00)
Title: define regex outside of middleware to add performance

http://jsperf.com/creating-a-regex-in-and-outside-a-loop/5 shows the performance gain.