{"action":"created","issue":{"url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/50","labels_url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/50/comments","events_url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/50/events","html_url":"https://github.com/pillarjs/path-to-regexp/pull/50","id":73515578,"number":50,"title":"Expose path parser","user":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars.githubusercontent.com/u/1088987?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-06T04:59:37Z","updated_at":"2015-05-09T18:55:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pillarjs/path-to-regexp/pulls/50","html_url":"https://github.com/pillarjs/path-to-regexp/pull/50","diff_url":"https://github.com/pillarjs/path-to-regexp/pull/50.diff","patch_url":"https://github.com/pillarjs/path-to-regexp/pull/50.patch"},"body":"With this PR we expose the `parse` method to consumers. This can be used to get the segments of the path, as well as the sanitised strings (currently we're just removing escape characters from things the user may have escaped from us). From this, it's trivial to construct a path builder and the `toRegexp` functionality will use the parser from now on. "},"comment":{"url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/comments/100529920","html_url":"https://github.com/pillarjs/path-to-regexp/pull/50#issuecomment-100529920","issue_url":"https://api.github.com/repos/pillarjs/path-to-regexp/issues/50","id":100529920,"user":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars.githubusercontent.com/u/1088987?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T18:55:32Z","updated_at":"2015-05-09T18:55:32Z","body":"Just run a few speed tests and didn't find any compilation slowdowns (in fact, it improves, if anything). This is great, even though compilation speed isn't the most important thing since it should only happen once."}}