{"action":"created","issue":{"url":"https://api.github.com/repos/optonaut/ActiveLabel.swift/issues/142","repository_url":"https://api.github.com/repos/optonaut/ActiveLabel.swift","labels_url":"https://api.github.com/repos/optonaut/ActiveLabel.swift/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/optonaut/ActiveLabel.swift/issues/142/comments","events_url":"https://api.github.com/repos/optonaut/ActiveLabel.swift/issues/142/events","html_url":"https://github.com/optonaut/ActiveLabel.swift/pull/142","id":196118302,"number":142,"title":"Updated URL parser to use NSDataDetector","user":{"login":"taylanpince","id":12650,"avatar_url":"https://avatars.githubusercontent.com/u/12650?v=3","gravatar_id":"","url":"https://api.github.com/users/taylanpince","html_url":"https://github.com/taylanpince","followers_url":"https://api.github.com/users/taylanpince/followers","following_url":"https://api.github.com/users/taylanpince/following{/other_user}","gists_url":"https://api.github.com/users/taylanpince/gists{/gist_id}","starred_url":"https://api.github.com/users/taylanpince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylanpince/subscriptions","organizations_url":"https://api.github.com/users/taylanpince/orgs","repos_url":"https://api.github.com/users/taylanpince/repos","events_url":"https://api.github.com/users/taylanpince/events{/privacy}","received_events_url":"https://api.github.com/users/taylanpince/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-16T17:54:28Z","updated_at":"2016-12-20T20:00:44Z","closed_at":"2016-12-20T20:00:44Z","pull_request":{"url":"https://api.github.com/repos/optonaut/ActiveLabel.swift/pulls/142","html_url":"https://github.com/optonaut/ActiveLabel.swift/pull/142","diff_url":"https://github.com/optonaut/ActiveLabel.swift/pull/142.diff","patch_url":"https://github.com/optonaut/ActiveLabel.swift/pull/142.patch"},"body":"We needed to support user-entered links such as google.com, but the current RegEx based approach was too complicated to support this. We switched to using an NSDataDetector instead, which supports a myriad of link types, auto-parses and converts them to a proper URL object. Updated approach falls back to the RegEx pattern if the data detector cannot be instantiated for any reason."},"comment":{"url":"https://api.github.com/repos/optonaut/ActiveLabel.swift/issues/comments/268343301","html_url":"https://github.com/optonaut/ActiveLabel.swift/pull/142#issuecomment-268343301","issue_url":"https://api.github.com/repos/optonaut/ActiveLabel.swift/issues/142","id":268343301,"user":{"login":"taylanpince","id":12650,"avatar_url":"https://avatars.githubusercontent.com/u/12650?v=3","gravatar_id":"","url":"https://api.github.com/users/taylanpince","html_url":"https://github.com/taylanpince","followers_url":"https://api.github.com/users/taylanpince/followers","following_url":"https://api.github.com/users/taylanpince/following{/other_user}","gists_url":"https://api.github.com/users/taylanpince/gists{/gist_id}","starred_url":"https://api.github.com/users/taylanpince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylanpince/subscriptions","organizations_url":"https://api.github.com/users/taylanpince/orgs","repos_url":"https://api.github.com/users/taylanpince/repos","events_url":"https://api.github.com/users/taylanpince/events{/privacy}","received_events_url":"https://api.github.com/users/taylanpince/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T20:00:44Z","updated_at":"2016-12-20T20:00:44Z","body":"Fair enough. Our use case is different and getting all kinds of links working is more important so we'Il keep working from our fork. Thanks!"}}
{"actor":{"display_login":"taylanpince"}}