{"action":"opened","issue":{"url":"https://api.github.com/repos/juxt/bidi/issues/44","labels_url":"https://api.github.com/repos/juxt/bidi/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/juxt/bidi/issues/44/comments","events_url":"https://api.github.com/repos/juxt/bidi/issues/44/events","html_url":"https://github.com/juxt/bidi/issues/44","id":53924376,"number":44,"title":"Nested routes throwing IllegalArgumentException","user":{"login":"grammati","id":94716,"avatar_url":"https://avatars.githubusercontent.com/u/94716?v=3","gravatar_id":"","url":"https://api.github.com/users/grammati","html_url":"https://github.com/grammati","followers_url":"https://api.github.com/users/grammati/followers","following_url":"https://api.github.com/users/grammati/following{/other_user}","gists_url":"https://api.github.com/users/grammati/gists{/gist_id}","starred_url":"https://api.github.com/users/grammati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grammati/subscriptions","organizations_url":"https://api.github.com/users/grammati/orgs","repos_url":"https://api.github.com/users/grammati/repos","events_url":"https://api.github.com/users/grammati/events{/privacy}","received_events_url":"https://api.github.com/users/grammati/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-09T22:41:20Z","updated_at":"2015-01-09T22:41:20Z","closed_at":null,"body":"I have not been successful at nesting routes within other routes:\r\n\r\n```\r\n(def foo-routes\r\n  [\"/\" [[\"bar\" :bar]]])\r\n\r\n(def app-routes\r\n  [\"/\" [[\"foo\" foo-routes]\r\n        [\"blah\" :blah]]])\r\n\r\n(comment\r\n  ;; These should both match, and return :bar (I think)\r\n  ;; With bidi 0.14 the first succeeds, but the second throws IllegalArgumentException\r\n  (b/match-route foo-routes \"/bar\")\r\n  (b/match-route app-routes \"/foo/bar\"))\r\n```\r\n\r\nThe exception throw is:\r\n\r\n```\r\nIllegalArgumentException No implementation of method: :match-pattern of protocol: #'bidi.bidi/Pattern found for class: java.lang.Character\r\n```\r\n"}}