{"action":"created","issue":{"url":"https://api.github.com/repos/iron/router/issues/108","repository_url":"https://api.github.com/repos/iron/router","labels_url":"https://api.github.com/repos/iron/router/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/iron/router/issues/108/comments","events_url":"https://api.github.com/repos/iron/router/issues/108/events","html_url":"https://github.com/iron/router/issues/108","id":132928631,"number":108,"title":"Routes of non-constant length","user":{"login":"pijul","id":17001900,"avatar_url":"https://avatars.githubusercontent.com/u/17001900?v=3","gravatar_id":"","url":"https://api.github.com/users/pijul","html_url":"https://github.com/pijul","followers_url":"https://api.github.com/users/pijul/followers","following_url":"https://api.github.com/users/pijul/following{/other_user}","gists_url":"https://api.github.com/users/pijul/gists{/gist_id}","starred_url":"https://api.github.com/users/pijul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pijul/subscriptions","organizations_url":"https://api.github.com/users/pijul/orgs","repos_url":"https://api.github.com/users/pijul/repos","events_url":"https://api.github.com/users/pijul/events{/privacy}","received_events_url":"https://api.github.com/users/pijul/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-11T09:47:19Z","updated_at":"2016-02-12T06:40:02Z","closed_at":"2016-02-12T06:40:02Z","body":"It would be great to have support for routes of non-constant lengths, like for instance matching the beginning of a path, and then getting the remainder:\r\n\r\nSince there is only one remainder, a useful API would be:\r\n\r\nrouter.get_nonstrict(\"/constant/:A/:B\")\r\n\r\nThis would match /constant/*/*, store the first two segments in A and B, respectively, and add the remainder of the path in a slice in the extensions TypeMap.\r\n\r\n(sorry if this is already possible, maybe it's just a documentation issue)."},"comment":{"url":"https://api.github.com/repos/iron/router/issues/comments/183200334","html_url":"https://github.com/iron/router/issues/108#issuecomment-183200334","issue_url":"https://api.github.com/repos/iron/router/issues/108","id":183200334,"user":{"login":"pijul","id":17001900,"avatar_url":"https://avatars.githubusercontent.com/u/17001900?v=3","gravatar_id":"","url":"https://api.github.com/users/pijul","html_url":"https://github.com/pijul","followers_url":"https://api.github.com/users/pijul/followers","following_url":"https://api.github.com/users/pijul/following{/other_user}","gists_url":"https://api.github.com/users/pijul/gists{/gist_id}","starred_url":"https://api.github.com/users/pijul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pijul/subscriptions","organizations_url":"https://api.github.com/users/pijul/orgs","repos_url":"https://api.github.com/users/pijul/repos","events_url":"https://api.github.com/users/pijul/events{/privacy}","received_events_url":"https://api.github.com/users/pijul/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T06:40:02Z","updated_at":"2016-02-12T06:40:02Z","body":"Ok, thanks!"}}