{"action":"created","issue":{"url":"https://api.github.com/repos/gjtorikian/html-proofer/issues/211","labels_url":"https://api.github.com/repos/gjtorikian/html-proofer/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/gjtorikian/html-proofer/issues/211/comments","events_url":"https://api.github.com/repos/gjtorikian/html-proofer/issues/211/events","html_url":"https://github.com/gjtorikian/html-proofer/issues/211","id":72150479,"number":211,"title":"Exclude references via RegEx?","user":{"login":"anselmh","id":399345,"avatar_url":"https://avatars.githubusercontent.com/u/399345?v=3","gravatar_id":"","url":"https://api.github.com/users/anselmh","html_url":"https://github.com/anselmh","followers_url":"https://api.github.com/users/anselmh/followers","following_url":"https://api.github.com/users/anselmh/following{/other_user}","gists_url":"https://api.github.com/users/anselmh/gists{/gist_id}","starred_url":"https://api.github.com/users/anselmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anselmh/subscriptions","organizations_url":"https://api.github.com/users/anselmh/orgs","repos_url":"https://api.github.com/users/anselmh/repos","events_url":"https://api.github.com/users/anselmh/events{/privacy}","received_events_url":"https://api.github.com/users/anselmh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-30T12:59:50Z","updated_at":"2015-04-30T15:14:16Z","closed_at":null,"body":"Hi,\r\n\r\nis it possible to exclude some references via RegEx? It seems `file_ignore` only is for files and `href_ignore` for `href` attributes. \r\n\r\nBut there’s no way to achieve the same for `src` attributes. Is that possible though or are you able to add this?\r\n\r\nThanks for your help in advance,\r\nAnselm"},"comment":{"url":"https://api.github.com/repos/gjtorikian/html-proofer/issues/comments/97833624","html_url":"https://github.com/gjtorikian/html-proofer/issues/211#issuecomment-97833624","issue_url":"https://api.github.com/repos/gjtorikian/html-proofer/issues/211","id":97833624,"user":{"login":"anselmh","id":399345,"avatar_url":"https://avatars.githubusercontent.com/u/399345?v=3","gravatar_id":"","url":"https://api.github.com/users/anselmh","html_url":"https://github.com/anselmh","followers_url":"https://api.github.com/users/anselmh/followers","following_url":"https://api.github.com/users/anselmh/following{/other_user}","gists_url":"https://api.github.com/users/anselmh/gists{/gist_id}","starred_url":"https://api.github.com/users/anselmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anselmh/subscriptions","organizations_url":"https://api.github.com/users/anselmh/orgs","repos_url":"https://api.github.com/users/anselmh/repos","events_url":"https://api.github.com/users/anselmh/events{/privacy}","received_events_url":"https://api.github.com/users/anselmh/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T15:14:16Z","updated_at":"2015-04-30T15:14:16Z","body":"This is my `Rakefile`. Actually other options work and the google reference works as well but regex is not working.\r\n\r\n\trequire \"html/proofer\"\r\n\r\n\ttask :test do\r\n\t    HTML::Proofer.new(\"./_site\", {\r\n\t        :href_ignore => [\r\n\t            \"http://fonts.googleapis.com/\",\r\n\t            /\\/assets\\/.*(js|css|png|svg)/\r\n\t        ]\r\n\t    }).run\r\n\tend\r\n"}}