{"action":"created","issue":{"url":"https://api.github.com/repos/esdoc/esdoc/issues/129","labels_url":"https://api.github.com/repos/esdoc/esdoc/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/esdoc/esdoc/issues/129/comments","events_url":"https://api.github.com/repos/esdoc/esdoc/issues/129/events","html_url":"https://github.com/esdoc/esdoc/issues/129","id":112263531,"number":129,"title":"Crash for parameter with type and link and parentheses","user":{"login":"andy-hanson","id":5387404,"avatar_url":"https://avatars.githubusercontent.com/u/5387404?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-hanson","html_url":"https://github.com/andy-hanson","followers_url":"https://api.github.com/users/andy-hanson/followers","following_url":"https://api.github.com/users/andy-hanson/following{/other_user}","gists_url":"https://api.github.com/users/andy-hanson/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-hanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-hanson/subscriptions","organizations_url":"https://api.github.com/users/andy-hanson/orgs","repos_url":"https://api.github.com/users/andy-hanson/repos","events_url":"https://api.github.com/users/andy-hanson/events{/privacy}","received_events_url":"https://api.github.com/users/andy-hanson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-20T01:12:15Z","updated_at":"2015-10-25T01:45:58Z","closed_at":null,"body":"Probably related to #119.\r\n\r\nI'm documenting this code:\r\n\r\n\t/** @param {boolean} x A parameter (where {@link foo} is its function). */\r\n\texport function foo(x) {}\r\n\r\nAnd I get this error:\r\n\r\n\tSyntaxError: Invalid regular expression: /[~]\\boolean} x A parameter (where {@link foo$/: Unterminated group\r\n\t\tat RegExp (native)\r\n\t\tat new RegExp (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/node_modules/core-js/modules/es6.regexp.js:22:11)\r\n\t\tat IdentifiersDocBuilder._findByName (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/Publisher/Builder/DocBuilder.js:140:20)\r\n\t\tat IdentifiersDocBuilder._buildDocLinkHTML (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/Publisher/Builder/DocBuilder.js:996:22)\r\n\t\tat IdentifiersDocBuilder._buildTypeDocLinkHTML (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/Publisher/Builder/DocBuilder.js:972:21)\r\n\t\tat IdentifiersDocBuilder._buildSignatureHTML (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/Publisher/Builder/DocBuilder.js:1105:33)\r\n\t\tat /home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/Publisher/Builder/DocBuilder.js:498:38\r\n\t\tat IceCap.loop (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/node_modules/ice-cap/out/src/IceCap.js:319:15)\r\n\t\tat IdentifiersDocBuilder._buildSummaryDoc (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/Publisher/Builder/DocBuilder.js:495:11)\r\n\t\tat IdentifiersDocBuilder._buildSummaryHTML (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/Publisher/Builder/DocBuilder.js:454:29)\r\n\r\nThe problem goes away if I remove any one of the type or the link or the parentheses.\r\n"},"comment":{"url":"https://api.github.com/repos/esdoc/esdoc/issues/comments/150880046","html_url":"https://github.com/esdoc/esdoc/issues/129#issuecomment-150880046","issue_url":"https://api.github.com/repos/esdoc/esdoc/issues/129","id":150880046,"user":{"login":"h13i32maru","id":985170,"avatar_url":"https://avatars.githubusercontent.com/u/985170?v=3","gravatar_id":"","url":"https://api.github.com/users/h13i32maru","html_url":"https://github.com/h13i32maru","followers_url":"https://api.github.com/users/h13i32maru/followers","following_url":"https://api.github.com/users/h13i32maru/following{/other_user}","gists_url":"https://api.github.com/users/h13i32maru/gists{/gist_id}","starred_url":"https://api.github.com/users/h13i32maru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h13i32maru/subscriptions","organizations_url":"https://api.github.com/users/h13i32maru/orgs","repos_url":"https://api.github.com/users/h13i32maru/repos","events_url":"https://api.github.com/users/h13i32maru/events{/privacy}","received_events_url":"https://api.github.com/users/h13i32maru/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T01:45:58Z","updated_at":"2015-10-25T01:45:58Z","body":"@andy-hanson This is ESDoc bug. Thanks."}}