substack/bouncy — pull request #29 by samholmes (2012-03-27 09:18:46+00:00)
Title: Update /bin/bouncy.js to support wildcard characters (*) for sub-domains...

I believe the added algorithm at line 16 would allow for "*.mydomain.com" routes to be matched by "www.mydomain.com", "foobar.mydomain.com", etc.