{"action":"created","issue":{"url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/62","labels_url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/62/comments","events_url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/62/events","html_url":"https://github.com/pillarjs/path-to-regexp/issues/62","id":110580904,"number":62,"title":"host-to-regexp","user":{"login":"DylanPiercey","id":4985201,"avatar_url":"https://avatars.githubusercontent.com/u/4985201?v=3","gravatar_id":"","url":"https://api.github.com/users/DylanPiercey","html_url":"https://github.com/DylanPiercey","followers_url":"https://api.github.com/users/DylanPiercey/followers","following_url":"https://api.github.com/users/DylanPiercey/following{/other_user}","gists_url":"https://api.github.com/users/DylanPiercey/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanPiercey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanPiercey/subscriptions","organizations_url":"https://api.github.com/users/DylanPiercey/orgs","repos_url":"https://api.github.com/users/DylanPiercey/repos","events_url":"https://api.github.com/users/DylanPiercey/events{/privacy}","received_events_url":"https://api.github.com/users/DylanPiercey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-09T03:18:21Z","updated_at":"2015-10-11T03:05:46Z","closed_at":null,"body":"Is there any consideration to allow path-to-regexp to support generating host matching regexes? As far as I can tell all that would change is that the delimiter in the regs would go from `/` to `.`.\r\n\r\nThis would be pretty handy for node servers handling multiple domains/subdomains."},"comment":{"url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/comments/147149533","html_url":"https://github.com/pillarjs/path-to-regexp/issues/62#issuecomment-147149533","issue_url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/62","id":147149533,"user":{"login":"DylanPiercey","id":4985201,"avatar_url":"https://avatars.githubusercontent.com/u/4985201?v=3","gravatar_id":"","url":"https://api.github.com/users/DylanPiercey","html_url":"https://github.com/DylanPiercey","followers_url":"https://api.github.com/users/DylanPiercey/followers","following_url":"https://api.github.com/users/DylanPiercey/following{/other_user}","gists_url":"https://api.github.com/users/DylanPiercey/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanPiercey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanPiercey/subscriptions","organizations_url":"https://api.github.com/users/DylanPiercey/orgs","repos_url":"https://api.github.com/users/DylanPiercey/repos","events_url":"https://api.github.com/users/DylanPiercey/events{/privacy}","received_events_url":"https://api.github.com/users/DylanPiercey/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T03:05:46Z","updated_at":"2015-10-11T03:05:46Z","body":"@blakeembrey I did some more testing and it actually seems to work for everything. Originally I thought it didn't work with with regexes and matched subdomains but it looks like it does.\r\n\r\nI'm going to close this thanks for your responses!"}}