{"action":"created","issue":{"url":"https://api.github.com/repos/kadirahq/react-storybook/issues/245","repository_url":"https://api.github.com/repos/kadirahq/react-storybook","labels_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/245/comments","events_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/245/events","html_url":"https://github.com/kadirahq/react-storybook/issues/245","id":159499356,"number":245,"title":"Backslash in the search field causes a syntax error","user":{"login":"majapw","id":1383861,"avatar_url":"https://avatars.githubusercontent.com/u/1383861?v=3","gravatar_id":"","url":"https://api.github.com/users/majapw","html_url":"https://github.com/majapw","followers_url":"https://api.github.com/users/majapw/followers","following_url":"https://api.github.com/users/majapw/following{/other_user}","gists_url":"https://api.github.com/users/majapw/gists{/gist_id}","starred_url":"https://api.github.com/users/majapw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majapw/subscriptions","organizations_url":"https://api.github.com/users/majapw/orgs","repos_url":"https://api.github.com/users/majapw/repos","events_url":"https://api.github.com/users/majapw/events{/privacy}","received_events_url":"https://api.github.com/users/majapw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-09T20:23:03Z","updated_at":"2016-06-10T05:05:18Z","closed_at":"2016-06-10T03:36:33Z","body":"Accidentally hit the backslash in the `Filter` input on my storybook instance. The entire left panel errored out with the following syntax error:\r\n```\r\nInvalid regular expression: /\\/: \\ at end of pattern \r\nSyntaxError: Invalid regular expression: /\\/: \\ at end of pattern\r\n    at RegExp (native)\r\n    at eval (eval at 181 (http://localhost:9001/static/manager.bundle.js:595:2), <anonymous>:28:30896)\r\n    at Array.filter (native)\r\n    at Object.n [as storyFilter] (eval at 181 (http://localhost:9001/static/manager.bundle.js:595:2), <anonymous>:28:30848)\r\n    at t.composer (eval at 181 (http://localhost:9001/static/manager.bundle.js:595:2), <anonymous>:28:29763)\r\n    at Array.i (eval at 181 (http://localhost:9001/static/manager.bundle.js:595:2), <anonymous>:1:24197)\r\n    at Object.c [as dispatch] (eval at 181 (http://localhost:9001/static/manager.bundle.js:595:2), <anonymous>:27:26968)\r\n    at setStoryFilter (eval at 181 (http://localhost:9001/static/manager.bundle.js:595:2), <anonymous>:28:11958)\r\n    at onChange (eval at 181 (http://localhost:9001/static/manager.bundle.js:595:2), <anonymous>:28:20845)\r\n    at t.n (eval at 181 (http://localhost:9001/static/manager.bundle.js:595:2), <anonymous>:28:23937)\r\n```\r\n\r\nThis can only be fixed with a refresh."},"comment":{"url":"https://api.github.com/repos/kadirahq/react-storybook/issues/comments/225094021","html_url":"https://github.com/kadirahq/react-storybook/issues/245#issuecomment-225094021","issue_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/245","id":225094021,"user":{"login":"majapw","id":1383861,"avatar_url":"https://avatars.githubusercontent.com/u/1383861?v=3","gravatar_id":"","url":"https://api.github.com/users/majapw","html_url":"https://github.com/majapw","followers_url":"https://api.github.com/users/majapw/followers","following_url":"https://api.github.com/users/majapw/following{/other_user}","gists_url":"https://api.github.com/users/majapw/gists{/gist_id}","starred_url":"https://api.github.com/users/majapw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majapw/subscriptions","organizations_url":"https://api.github.com/users/majapw/orgs","repos_url":"https://api.github.com/users/majapw/repos","events_url":"https://api.github.com/users/majapw/events{/privacy}","received_events_url":"https://api.github.com/users/majapw/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T05:05:17Z","updated_at":"2016-06-10T05:05:17Z","body":"Thanks! Much appreciated. "}}
{"actor":{"display_login":"majapw"}}