{"action":"created","issue":{"url":"https://api.github.com/repos/abe33/atom-pigments/issues/19","labels_url":"https://api.github.com/repos/abe33/atom-pigments/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/abe33/atom-pigments/issues/19/comments","events_url":"https://api.github.com/repos/abe33/atom-pigments/issues/19/events","html_url":"https://github.com/abe33/atom-pigments/issues/19","id":80840243,"number":19,"title":"Uncaught RangeError: Maximum call stack size exceeded","user":{"login":"Blacx","id":1876100,"avatar_url":"https://avatars.githubusercontent.com/u/1876100?v=3","gravatar_id":"","url":"https://api.github.com/users/Blacx","html_url":"https://github.com/Blacx","followers_url":"https://api.github.com/users/Blacx/followers","following_url":"https://api.github.com/users/Blacx/following{/other_user}","gists_url":"https://api.github.com/users/Blacx/gists{/gist_id}","starred_url":"https://api.github.com/users/Blacx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blacx/subscriptions","organizations_url":"https://api.github.com/users/Blacx/orgs","repos_url":"https://api.github.com/users/Blacx/repos","events_url":"https://api.github.com/users/Blacx/events{/privacy}","received_events_url":"https://api.github.com/users/Blacx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-26T07:39:31Z","updated_at":"2015-05-26T10:26:07Z","closed_at":null,"body":"Reproduce:\r\n\r\n1. Open the Command Pallete\r\n2. Choose Pigments: Find Colors\r\n\r\n**Atom Version**: 0.201.0\r\n**System**: Microsoft Windows 8\r\n**Thrown From**: [pigments](https://github.com/abe33/atom-pigments) package, v0.3.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught RangeError: Maximum call stack size exceeded\r\n\r\n```\r\nAt C:\\Users\\Whisnu\\.atom\\packages\\pigments\\lib\\regexes.coffee:0\r\n\r\nRangeError: Maximum call stack size exceeded\r\n  at String.replace (native)\r\n  at C:\\Users\\Whisnu\\.atom\\packages\\pigments\\lib\\regexes.coffee:23:14\r\n  at Array.map (native)\r\n  at module.exports.createVariableRegExpString (C:\\Users\\Whisnu\\.atom\\packages\\pigments\\lib\\regexes.coffee:22:31)\r\n  at module.exports.getRegistry (C:\\Users\\Whisnu\\.atom\\packages\\pigments\\lib\\color-expressions.coffee:628:27)\r\n  at ColorParser.module.exports.ColorParser.parse (C:\\Users\\Whisnu\\.atom\\packages\\pigments\\lib\\color-parser.coffee:18:16)\r\n  at ColorContext.module.exports.ColorContext.readColor (C:\\Users\\Whisnu\\.atom\\packages\\pigments\\lib\\color-context.coffee:41:22)\r\n  at Color.<anonymous> (C:\\Users\\Whisnu\\.atom\\packages\\pigments\\lib\\color-expressions.coffee:339:25)\r\n  at ColorExpression.module.exports.ColorExpression.parse (C:\\Users\\Whisnu\\.atom\\packages\\pigments\\lib\\color-expression.coffee:15:13)\r\n  at ColorParser.module.exports.ColorParser.parse (C:\\Users\\Whisnu\\.atom\\packages\\pigments\\lib\\color-parser.coffee:21:16)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -1:09.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)\r\n     -1:08.3.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)\r\n     -1:08.3.0 core:cancel (atom-text-editor.editor.mini.is-focused)\r\n     -0:52.2.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)\r\n     -0:52 editor:newline (atom-text-editor.editor.is-focused)\r\n     -0:51.7.0 core:move-up (atom-text-editor.editor.is-focused)\r\n  2x -0:30.1.0 core:backspace (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"git-plus\"\r\n    ]\r\n  },\r\n  \"pigments\": {}\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nhighlight-selected, v0.9.3\r\nminimap, v4.9.0\r\nminimap-find-and-replace, v4.2.0\r\npigments, v0.3.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/abe33/atom-pigments/issues/comments/105482179","html_url":"https://github.com/abe33/atom-pigments/issues/19#issuecomment-105482179","issue_url":"https://api.github.com/repos/abe33/atom-pigments/issues/19","id":105482179,"user":{"login":"Blacx","id":1876100,"avatar_url":"https://avatars.githubusercontent.com/u/1876100?v=3","gravatar_id":"","url":"https://api.github.com/users/Blacx","html_url":"https://github.com/Blacx","followers_url":"https://api.github.com/users/Blacx/followers","following_url":"https://api.github.com/users/Blacx/following{/other_user}","gists_url":"https://api.github.com/users/Blacx/gists{/gist_id}","starred_url":"https://api.github.com/users/Blacx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blacx/subscriptions","organizations_url":"https://api.github.com/users/Blacx/orgs","repos_url":"https://api.github.com/users/Blacx/repos","events_url":"https://api.github.com/users/Blacx/events{/privacy}","received_events_url":"https://api.github.com/users/Blacx/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T10:26:07Z","updated_at":"2015-05-26T10:26:07Z","body":"Hmm, the good news is the issue is does not happen again.\r\nI got atom error package dialog at first time installed the Pigments. The problem does not reoccur after the second action.\r\n\r\nThe bad news is I'm not sure why this happen.\r\nFor additional information, I using **3360 colors found in 160 lines** (*everything was fine after that*)"}}