{"action":"opened","issue":{"url":"https://api.github.com/repos/MindscapeHQ/raygun4js/issues/101","labels_url":"https://api.github.com/repos/MindscapeHQ/raygun4js/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/MindscapeHQ/raygun4js/issues/101/comments","events_url":"https://api.github.com/repos/MindscapeHQ/raygun4js/issues/101/events","html_url":"https://github.com/MindscapeHQ/raygun4js/issues/101","id":58133172,"number":101,"title":"EmberJS issue","user":{"login":"encore1908","id":4737958,"avatar_url":"https://avatars.githubusercontent.com/u/4737958?v=3","gravatar_id":"","url":"https://api.github.com/users/encore1908","html_url":"https://github.com/encore1908","followers_url":"https://api.github.com/users/encore1908/followers","following_url":"https://api.github.com/users/encore1908/following{/other_user}","gists_url":"https://api.github.com/users/encore1908/gists{/gist_id}","starred_url":"https://api.github.com/users/encore1908/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/encore1908/subscriptions","organizations_url":"https://api.github.com/users/encore1908/orgs","repos_url":"https://api.github.com/users/encore1908/repos","events_url":"https://api.github.com/users/encore1908/events{/privacy}","received_events_url":"https://api.github.com/users/encore1908/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-18T21:45:57Z","updated_at":"2015-02-18T21:45:57Z","closed_at":null,"body":"Hi,\r\n\r\nI have an issue, when i'm trying to:\r\n\r\n```javascript\r\nRaygun.send(error);\r\n```\r\nI'm getting same error in console:\r\n```javascript\r\nUncaught SyntaxError: Invalid regular expression: /function superFunction(){.....}/;\r\n```\r\nI believe that problem with lines:\r\n```javascript\r\nnavigator.userAgent.match(_excludedUserAgents[userAgentIndex] \r\n```\r\nand \r\n```javascript\r\nwindow.location.hostname && window.location.hostname.match(_excludedHostnames[hostIndex])\r\n```\r\n"}}