{"action":"closed","issue":{"url":"https://api.github.com/repos/AtomLinter/Linter/issues/687","labels_url":"https://api.github.com/repos/AtomLinter/Linter/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/Linter/issues/687/comments","events_url":"https://api.github.com/repos/AtomLinter/Linter/issues/687/events","html_url":"https://github.com/AtomLinter/Linter/issues/687","id":92789881,"number":687,"title":"XRegExp is just too heavy","user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AtomLinter/Linter/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/AtomLinter/Linter/labels/priority-high","name":"priority-high","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-03T04:42:30Z","updated_at":"2015-07-06T14:35:48Z","closed_at":"2015-07-06T14:35:47Z","body":"We are using it solely for simplicity. While it makes writing providers easier, it eats a lot of CPU and we're trying to avoid things that do that.\r\nThe only proposed fix I have in mind is that we create our own lightweight alternative that works with the same syntax and translates that regex to native, and then remaps those indices to names extracted before. and most of all, caches the compiled Regex.\r\nIt would take only like a day or two and we already have tests in the wild for it. so I think we should take this option."}}