{"action":"opened","issue":{"url":"https://api.github.com/repos/strongloop/express/issues/2716","labels_url":"https://api.github.com/repos/strongloop/express/issues/2716/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/express/issues/2716/comments","events_url":"https://api.github.com/repos/strongloop/express/issues/2716/events","html_url":"https://github.com/strongloop/express/issues/2716","id":97192954,"number":2716,"title":"consider updating path-to-regexp dependency","user":{"login":"avsec-luke","id":11494567,"avatar_url":"https://avatars.githubusercontent.com/u/11494567?v=3","gravatar_id":"","url":"https://api.github.com/users/avsec-luke","html_url":"https://github.com/avsec-luke","followers_url":"https://api.github.com/users/avsec-luke/followers","following_url":"https://api.github.com/users/avsec-luke/following{/other_user}","gists_url":"https://api.github.com/users/avsec-luke/gists{/gist_id}","starred_url":"https://api.github.com/users/avsec-luke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avsec-luke/subscriptions","organizations_url":"https://api.github.com/users/avsec-luke/orgs","repos_url":"https://api.github.com/users/avsec-luke/repos","events_url":"https://api.github.com/users/avsec-luke/events{/privacy}","received_events_url":"https://api.github.com/users/avsec-luke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-25T05:29:18Z","updated_at":"2015-07-25T05:29:18Z","closed_at":null,"body":"the below\r\n\r\n`router.route('/v1/users/:userId/(events|forms)', fooMiddleware);`\r\n\r\ngenerates an error using path-to-regexp version 0.1.6\r\n\r\n```\r\nSyntaxError: Invalid regular expression: /^\\/users\\/(?:([^\\/]+?))\\/(?(?:([^\\/]+?))|forms)\\/?$/: Invalid group\r\n    at new RegExp (native)\r\n    at pathtoRegexp (c:\\Asker\\application\\node_modules\\express\\node_modules\\path-to-regexp\\index.js:69:10)\r\n```\r\n\r\nhowever by re-npm-installing my express package with path-to-regexp version changed to the most recent version (1.2.0) it processed my route just fine\r\n"}}