{"action":"closed","issue":{"url":"https://api.github.com/repos/giakki/uncss/issues/230","repository_url":"https://api.github.com/repos/giakki/uncss","labels_url":"https://api.github.com/repos/giakki/uncss/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/giakki/uncss/issues/230/comments","events_url":"https://api.github.com/repos/giakki/uncss/issues/230/events","html_url":"https://github.com/giakki/uncss/issues/230","id":153984419,"number":230,"title":"Cant figure out command line cli --ignore","user":{"login":"roikles","id":878484,"avatar_url":"https://avatars.githubusercontent.com/u/878484?v=3","gravatar_id":"","url":"https://api.github.com/users/roikles","html_url":"https://github.com/roikles","followers_url":"https://api.github.com/users/roikles/followers","following_url":"https://api.github.com/users/roikles/following{/other_user}","gists_url":"https://api.github.com/users/roikles/gists{/gist_id}","starred_url":"https://api.github.com/users/roikles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roikles/subscriptions","organizations_url":"https://api.github.com/users/roikles/orgs","repos_url":"https://api.github.com/users/roikles/repos","events_url":"https://api.github.com/users/roikles/events{/privacy}","received_events_url":"https://api.github.com/users/roikles/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-10T11:31:39Z","updated_at":"2016-05-12T08:45:54Z","closed_at":"2016-05-12T08:45:54Z","body":"I'm trying to ignore rules that start with `.grid` in my css using the following:\r\n\r\n`uncss http://localhost/e3/**/*.php > unused.css  --ignore '^.grid'`. \r\n\r\nI expected that rules such as `.grid__item` would be ignored but they are still being parsed and removed. I suspect the issue is with my regex but I'm not certain.\r\n\r\nIf it helps I am runnin the following command from an NPM script:\r\n\r\n```\r\n\"scripts\": {\r\n    \"css-remove\":\"uncss http://localhost/e3/**/*.php > unused.css  --ignore '^.grid'\",\r\n    \"css-report\": \"npm run css:removeunused && diff style.css unused.css > diff.css && rm unused.css\",\r\n    ...\r\n}\r\n```\r\n\r\nI'm using `diff` to generate a third file that contains the difference between `style.css` and `unused.css` so that I can go through and manually clean up any unused rules. The files are all created as expected it's just my regex that seems to fail."}}