{"action":"opened","issue":{"url":"https://api.github.com/repos/danielo515/AHK-templated_gui/issues/2","labels_url":"https://api.github.com/repos/danielo515/AHK-templated_gui/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/danielo515/AHK-templated_gui/issues/2/comments","events_url":"https://api.github.com/repos/danielo515/AHK-templated_gui/issues/2/events","html_url":"https://github.com/danielo515/AHK-templated_gui/issues/2","id":71041534,"number":2,"title":"parsers should have a canParse method","user":{"login":"danielo515","id":2270425,"avatar_url":"https://avatars.githubusercontent.com/u/2270425?v=3","gravatar_id":"","url":"https://api.github.com/users/danielo515","html_url":"https://github.com/danielo515","followers_url":"https://api.github.com/users/danielo515/followers","following_url":"https://api.github.com/users/danielo515/following{/other_user}","gists_url":"https://api.github.com/users/danielo515/gists{/gist_id}","starred_url":"https://api.github.com/users/danielo515/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielo515/subscriptions","organizations_url":"https://api.github.com/users/danielo515/orgs","repos_url":"https://api.github.com/users/danielo515/repos","events_url":"https://api.github.com/users/danielo515/events{/privacy}","received_events_url":"https://api.github.com/users/danielo515/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-26T09:39:35Z","updated_at":"2015-04-26T09:39:35Z","closed_at":null,"body":"Each parser should have a method to ask it if it is able to parse the current field. This should be a fallback if the field itself does not have a parser associated. In such case we should loop the entire array of parsers asking each one if it is able to parse the current field content. CanParse should return true or false. Typically this kind of function just executes a regular expression against the provided content. "}}