GitHub PullRequestReviewCommentEvent at 2014-01-03 23:02:29
Repository: NzbDrone
Actor: kayone
Payload: {"comment":{"url":"https://api.github.com/repos/NzbDrone/NzbDrone/pulls/comments/8648038","id":8648038,"diff_hunk":"@@ -94,6 +105,39 @@ public IList<ReleaseInfo> Fetch(IIndexer indexer, DailyEpisodeSearchCriteria sea\n             return result;\n         }\n \n+        private IList<ReleaseInfo> FetchEpisodesUsingQuery(IIndexer indexer, SearchCriteriaBase searchCriteria)\n+        {\n+            var queryUrls = new List<String>();\n+            foreach (var episode in searchCriteria.Episodes)\n+            {\n+                if (!String.IsNullOrEmpty(episode.Title))\n+                {\n+                    // build query string for \"<series> <episode-title>\"\n+                    string episodeTitle = Regex.Replace(episode.Title, @\"\\W+\", \"+\");","path":"src/NzbDrone.Core/Indexers/IndexerFetchService.cs","position":49,"original_position":49,"commit_id":"a6977b0c3da28ee714cbb51e4d67176a8e8b1cc9","original_commit_id":"a6977b0c3da28ee714cbb51e4d67176a8e8b1cc9","user":{"login":"kayone","id":412280,"avatar_url":"https://gravatar.com/avatar/bffb5fb1db05868f195aea7e203f02c0?d=https%3A%2F%2Fidenticons.github.com%2F886ce65dc6c851493e82b56d2ffd538a.png&r=x","gravatar_id":"bffb5fb1db05868f195aea7e203f02c0","url":"https://api.github.com/users/kayone","html_url":"https://github.com/kayone","followers_url":"https://api.github.com/users/kayone/followers","following_url":"https://api.github.com/users/kayone/following{/other_user}","gists_url":"https://api.github.com/users/kayone/gists{/gist_id}","starred_url":"https://api.github.com/users/kayone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayone/subscriptions","organizations_url":"https://api.github.com/users/kayone/orgs","repos_url":"https://api.github.com/users/kayone/repos","events_url":"https://api.github.com/users/kayone/events{/privacy}","received_events_url":"https://api.github.com/users/kayone/received_events","type":"User","site_admin":false},"body":"regex should be extracted out, checkout other regex uses.","created_at":"2014-01-03T23:02:29Z","updated_at":"2014-01-03T23:02:29Z","html_url":"https://github.com/NzbDrone/NzbDrone/pull/47#discussion_r8648038","pull_request_url":"https://api.github.com/repos/NzbDrone/NzbDrone/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/NzbDrone/NzbDrone/pulls/comments/8648038"},"html":{"href":"https://github.com/NzbDrone/NzbDrone/pull/47#discussion_r8648038"},"pull_request":{"href":"https://api.github.com/repos/NzbDrone/NzbDrone/pulls/47"}}}}