{"action":"created","comment":{"url":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/comments/33934134","id":33934134,"diff_hunk":"@@ -182,7 +187,7 @@ Analyzer.prototype.subHeadingsCheck = function( matches ){\n         foundInHeader = 0;\n         for ( var i = 0; i < matches.length; i++ ) {\n             var formattedHeaders = this.stringHelper.replaceString(matches[i], this.config.wordsToRemove);\n-            if (formattedHeaders.match( new RegExp( this.config.keyword, \"g\" ) ) || matches[i].match( new RegExp( this.config.keyword, \"g\" ) ) ) {\n+            if (formattedHeaders.match( new RegExp( this.config.keyword, \"ig\" ) ) || matches[i].match( new RegExp( this.config.keyword, \"ig\" ) ) ) {","path":"js/analyzer.js","position":167,"original_position":167,"commit_id":"cfd32216672481f338375b8b55879e339d455f78","original_commit_id":"cfd32216672481f338375b8b55879e339d455f78","user":{"login":"CarolineGeven","id":8614579,"avatar_url":"https://avatars.githubusercontent.com/u/8614579?v=3","gravatar_id":"","url":"https://api.github.com/users/CarolineGeven","html_url":"https://github.com/CarolineGeven","followers_url":"https://api.github.com/users/CarolineGeven/followers","following_url":"https://api.github.com/users/CarolineGeven/following{/other_user}","gists_url":"https://api.github.com/users/CarolineGeven/gists{/gist_id}","starred_url":"https://api.github.com/users/CarolineGeven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarolineGeven/subscriptions","organizations_url":"https://api.github.com/users/CarolineGeven/orgs","repos_url":"https://api.github.com/users/CarolineGeven/repos","events_url":"https://api.github.com/users/CarolineGeven/events{/privacy}","received_events_url":"https://api.github.com/users/CarolineGeven/received_events","type":"User","site_admin":false},"body":"See above, add inline docs for regex","created_at":"2015-07-06T13:39:25Z","updated_at":"2015-07-06T13:39:25Z","html_url":"https://github.com/Yoast/js-text-analysis/pull/43#discussion_r33934134","pull_request_url":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/comments/33934134"},"html":{"href":"https://github.com/Yoast/js-text-analysis/pull/43#discussion_r33934134"},"pull_request":{"href":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/43","id":38773616,"html_url":"https://github.com/Yoast/js-text-analysis/pull/43","diff_url":"https://github.com/Yoast/js-text-analysis/pull/43.diff","patch_url":"https://github.com/Yoast/js-text-analysis/pull/43.patch","issue_url":"https://api.github.com/repos/Yoast/js-text-analysis/issues/43","number":43,"state":"open","locked":false,"title":"Stories/dt/diacritics #42","user":{"login":"terw-dan","id":11272096,"avatar_url":"https://avatars.githubusercontent.com/u/11272096?v=3","gravatar_id":"","url":"https://api.github.com/users/terw-dan","html_url":"https://github.com/terw-dan","followers_url":"https://api.github.com/users/terw-dan/followers","following_url":"https://api.github.com/users/terw-dan/following{/other_user}","gists_url":"https://api.github.com/users/terw-dan/gists{/gist_id}","starred_url":"https://api.github.com/users/terw-dan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terw-dan/subscriptions","organizations_url":"https://api.github.com/users/terw-dan/orgs","repos_url":"https://api.github.com/users/terw-dan/repos","events_url":"https://api.github.com/users/terw-dan/events{/privacy}","received_events_url":"https://api.github.com/users/terw-dan/received_events","type":"User","site_admin":false},"body":"Fixes #42\n\nFixed issues for analyzerpage\n- if no paragraphtags are used, check for double enters\n- adding trimming to keyword to remove spaces\n- made checks case insensitive to improve matching\n- updated scoring config\n- added diacritics conversion to preprocessor\n- fixed replacing < and > outside tags.","created_at":"2015-06-29T13:32:36Z","updated_at":"2015-07-06T13:39:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08399446508ec34614920e0bdd89f7255a256a63","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/43/commits","review_comments_url":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/43/comments","review_comment_url":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yoast/js-text-analysis/issues/43/comments","statuses_url":"https://api.github.com/repos/Yoast/js-text-analysis/statuses/cfd32216672481f338375b8b55879e339d455f78","head":{"label":"Yoast:stories/DT/diacritics-#42","ref":"stories/DT/diacritics-#42","sha":"cfd32216672481f338375b8b55879e339d455f78","user":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"repo":{"id":32734884,"name":"js-text-analysis","full_name":"Yoast/js-text-analysis","owner":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yoast/js-text-analysis","description":"Project bringing the Yoast text analysis functionality to the client side","fork":false,"url":"https://api.github.com/repos/Yoast/js-text-analysis","forks_url":"https://api.github.com/repos/Yoast/js-text-analysis/forks","keys_url":"https://api.github.com/repos/Yoast/js-text-analysis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yoast/js-text-analysis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yoast/js-text-analysis/teams","hooks_url":"https://api.github.com/repos/Yoast/js-text-analysis/hooks","issue_events_url":"https://api.github.com/repos/Yoast/js-text-analysis/issues/events{/number}","events_url":"https://api.github.com/repos/Yoast/js-text-analysis/events","assignees_url":"https://api.github.com/repos/Yoast/js-text-analysis/assignees{/user}","branches_url":"https://api.github.com/repos/Yoast/js-text-analysis/branches{/branch}","tags_url":"https://api.github.com/repos/Yoast/js-text-analysis/tags","blobs_url":"https://api.github.com/repos/Yoast/js-text-analysis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yoast/js-text-analysis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yoast/js-text-analysis/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yoast/js-text-analysis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yoast/js-text-analysis/statuses/{sha}","languages_url":"https://api.github.com/repos/Yoast/js-text-analysis/languages","stargazers_url":"https://api.github.com/repos/Yoast/js-text-analysis/stargazers","contributors_url":"https://api.github.com/repos/Yoast/js-text-analysis/contributors","subscribers_url":"https://api.github.com/repos/Yoast/js-text-analysis/subscribers","subscription_url":"https://api.github.com/repos/Yoast/js-text-analysis/subscription","commits_url":"https://api.github.com/repos/Yoast/js-text-analysis/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yoast/js-text-analysis/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yoast/js-text-analysis/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yoast/js-text-analysis/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yoast/js-text-analysis/contents/{+path}","compare_url":"https://api.github.com/repos/Yoast/js-text-analysis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yoast/js-text-analysis/merges","archive_url":"https://api.github.com/repos/Yoast/js-text-analysis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yoast/js-text-analysis/downloads","issues_url":"https://api.github.com/repos/Yoast/js-text-analysis/issues{/number}","pulls_url":"https://api.github.com/repos/Yoast/js-text-analysis/pulls{/number}","milestones_url":"https://api.github.com/repos/Yoast/js-text-analysis/milestones{/number}","notifications_url":"https://api.github.com/repos/Yoast/js-text-analysis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yoast/js-text-analysis/labels{/name}","releases_url":"https://api.github.com/repos/Yoast/js-text-analysis/releases{/id}","created_at":"2015-03-23T13:50:16Z","updated_at":"2015-07-03T16:14:09Z","pushed_at":"2015-07-06T11:29:24Z","git_url":"git://github.com/Yoast/js-text-analysis.git","ssh_url":"git@github.com:Yoast/js-text-analysis.git","clone_url":"https://github.com/Yoast/js-text-analysis.git","svn_url":"https://github.com/Yoast/js-text-analysis","homepage":"","size":708,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":18,"forks":1,"open_issues":18,"watchers":8,"default_branch":"master"}},"base":{"label":"Yoast:master","ref":"master","sha":"3cd8f8cb59bbdbef7312cec1dcee7aac11619b38","user":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"repo":{"id":32734884,"name":"js-text-analysis","full_name":"Yoast/js-text-analysis","owner":{"login":"Yoast","id":4690436,"avatar_url":"https://avatars.githubusercontent.com/u/4690436?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoast","html_url":"https://github.com/Yoast","followers_url":"https://api.github.com/users/Yoast/followers","following_url":"https://api.github.com/users/Yoast/following{/other_user}","gists_url":"https://api.github.com/users/Yoast/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoast/subscriptions","organizations_url":"https://api.github.com/users/Yoast/orgs","repos_url":"https://api.github.com/users/Yoast/repos","events_url":"https://api.github.com/users/Yoast/events{/privacy}","received_events_url":"https://api.github.com/users/Yoast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yoast/js-text-analysis","description":"Project bringing the Yoast text analysis functionality to the client side","fork":false,"url":"https://api.github.com/repos/Yoast/js-text-analysis","forks_url":"https://api.github.com/repos/Yoast/js-text-analysis/forks","keys_url":"https://api.github.com/repos/Yoast/js-text-analysis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yoast/js-text-analysis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yoast/js-text-analysis/teams","hooks_url":"https://api.github.com/repos/Yoast/js-text-analysis/hooks","issue_events_url":"https://api.github.com/repos/Yoast/js-text-analysis/issues/events{/number}","events_url":"https://api.github.com/repos/Yoast/js-text-analysis/events","assignees_url":"https://api.github.com/repos/Yoast/js-text-analysis/assignees{/user}","branches_url":"https://api.github.com/repos/Yoast/js-text-analysis/branches{/branch}","tags_url":"https://api.github.com/repos/Yoast/js-text-analysis/tags","blobs_url":"https://api.github.com/repos/Yoast/js-text-analysis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yoast/js-text-analysis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yoast/js-text-analysis/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yoast/js-text-analysis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yoast/js-text-analysis/statuses/{sha}","languages_url":"https://api.github.com/repos/Yoast/js-text-analysis/languages","stargazers_url":"https://api.github.com/repos/Yoast/js-text-analysis/stargazers","contributors_url":"https://api.github.com/repos/Yoast/js-text-analysis/contributors","subscribers_url":"https://api.github.com/repos/Yoast/js-text-analysis/subscribers","subscription_url":"https://api.github.com/repos/Yoast/js-text-analysis/subscription","commits_url":"https://api.github.com/repos/Yoast/js-text-analysis/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yoast/js-text-analysis/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yoast/js-text-analysis/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yoast/js-text-analysis/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yoast/js-text-analysis/contents/{+path}","compare_url":"https://api.github.com/repos/Yoast/js-text-analysis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yoast/js-text-analysis/merges","archive_url":"https://api.github.com/repos/Yoast/js-text-analysis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yoast/js-text-analysis/downloads","issues_url":"https://api.github.com/repos/Yoast/js-text-analysis/issues{/number}","pulls_url":"https://api.github.com/repos/Yoast/js-text-analysis/pulls{/number}","milestones_url":"https://api.github.com/repos/Yoast/js-text-analysis/milestones{/number}","notifications_url":"https://api.github.com/repos/Yoast/js-text-analysis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yoast/js-text-analysis/labels{/name}","releases_url":"https://api.github.com/repos/Yoast/js-text-analysis/releases{/id}","created_at":"2015-03-23T13:50:16Z","updated_at":"2015-07-03T16:14:09Z","pushed_at":"2015-07-06T11:29:24Z","git_url":"git://github.com/Yoast/js-text-analysis.git","ssh_url":"git@github.com:Yoast/js-text-analysis.git","clone_url":"https://github.com/Yoast/js-text-analysis.git","svn_url":"https://github.com/Yoast/js-text-analysis","homepage":"","size":708,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":18,"forks":1,"open_issues":18,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/43"},"html":{"href":"https://github.com/Yoast/js-text-analysis/pull/43"},"issue":{"href":"https://api.github.com/repos/Yoast/js-text-analysis/issues/43"},"comments":{"href":"https://api.github.com/repos/Yoast/js-text-analysis/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yoast/js-text-analysis/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/Yoast/js-text-analysis/statuses/cfd32216672481f338375b8b55879e339d455f78"}}}}