{"action":"created","comment":{"url":"https://api.github.com/repos/behance/BeFF/pulls/comments/67712616","id":67712616,"diff_hunk":"@@ -129,6 +129,10 @@ define(function() {\n       test: test.bind(/^((?:https?):\\/\\/)?(?:(?:(?:[\\w\\.\\-\\+!$&\\'\\(\\)*\\+,;=_]|%[0-9a-f]{2})+:)*(?:[\\w\\.\\-\\+%!$&\\'\\(\\)*\\+,;=]|%[0-9a-f]{2})+@)?(?:[A-Za-z0-9_\\-]+\\.)(?:[A-Za-z0-9\\-\\._])+(?::\\d+)?(?:[\\/|\\?](?:[\\w#!:\\.\\?\\+=&@$\\'~*,;_\\/\\(\\)\\[\\]\\-]|%[0-9a-f]{2})*)?$/),\n       message: \"This field must be a valid URL\"\n     },\n+    UrlIncl:{\n+      test: test.bind(/((https?:\\/\\/|www\\.)[^\\s<]{3,})/i),","path":"util/validate.js","position":5,"original_position":5,"commit_id":"a4fff643c1000ade9f0c6ae1e9b991dd27a19b53","original_commit_id":"a4fff643c1000ade9f0c6ae1e9b991dd27a19b53","user":{"login":"mmase","id":753529,"avatar_url":"https://avatars.githubusercontent.com/u/753529?v=3","gravatar_id":"","url":"https://api.github.com/users/mmase","html_url":"https://github.com/mmase","followers_url":"https://api.github.com/users/mmase/followers","following_url":"https://api.github.com/users/mmase/following{/other_user}","gists_url":"https://api.github.com/users/mmase/gists{/gist_id}","starred_url":"https://api.github.com/users/mmase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmase/subscriptions","organizations_url":"https://api.github.com/users/mmase/orgs","repos_url":"https://api.github.com/users/mmase/repos","events_url":"https://api.github.com/users/mmase/events{/privacy}","received_events_url":"https://api.github.com/users/mmase/received_events","type":"User","site_admin":false},"body":"I can use the above `/^(http(?:s)?:\\/\\/|www.)[^<>]*$/` and remove the `^`","created_at":"2016-06-20T15:41:29Z","updated_at":"2016-06-20T15:41:29Z","html_url":"https://github.com/behance/BeFF/pull/147#discussion_r67712616","pull_request_url":"https://api.github.com/repos/behance/BeFF/pulls/147","_links":{"self":{"href":"https://api.github.com/repos/behance/BeFF/pulls/comments/67712616"},"html":{"href":"https://github.com/behance/BeFF/pull/147#discussion_r67712616"},"pull_request":{"href":"https://api.github.com/repos/behance/BeFF/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/behance/BeFF/pulls/147","id":74464499,"html_url":"https://github.com/behance/BeFF/pull/147","diff_url":"https://github.com/behance/BeFF/pull/147.diff","patch_url":"https://github.com/behance/BeFF/pull/147.patch","issue_url":"https://api.github.com/repos/behance/BeFF/issues/147","number":147,"state":"open","locked":false,"title":"Validate: Add URL inclusion","user":{"login":"mmase","id":753529,"avatar_url":"https://avatars.githubusercontent.com/u/753529?v=3","gravatar_id":"","url":"https://api.github.com/users/mmase","html_url":"https://github.com/mmase","followers_url":"https://api.github.com/users/mmase/followers","following_url":"https://api.github.com/users/mmase/following{/other_user}","gists_url":"https://api.github.com/users/mmase/gists{/gist_id}","starred_url":"https://api.github.com/users/mmase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmase/subscriptions","organizations_url":"https://api.github.com/users/mmase/orgs","repos_url":"https://api.github.com/users/mmase/repos","events_url":"https://api.github.com/users/mmase/events{/privacy}","received_events_url":"https://api.github.com/users/mmase/received_events","type":"User","site_admin":false},"body":"@mikesherov @Attamusc @weikinhuang ","created_at":"2016-06-20T15:38:47Z","updated_at":"2016-06-20T15:41:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7f503d035c1311e0df4585a11e3fa44b0facca0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/behance/BeFF/pulls/147/commits","review_comments_url":"https://api.github.com/repos/behance/BeFF/pulls/147/comments","review_comment_url":"https://api.github.com/repos/behance/BeFF/pulls/comments{/number}","comments_url":"https://api.github.com/repos/behance/BeFF/issues/147/comments","statuses_url":"https://api.github.com/repos/behance/BeFF/statuses/a4fff643c1000ade9f0c6ae1e9b991dd27a19b53","head":{"label":"mmase:urlincl-regex","ref":"urlincl-regex","sha":"a4fff643c1000ade9f0c6ae1e9b991dd27a19b53","user":{"login":"mmase","id":753529,"avatar_url":"https://avatars.githubusercontent.com/u/753529?v=3","gravatar_id":"","url":"https://api.github.com/users/mmase","html_url":"https://github.com/mmase","followers_url":"https://api.github.com/users/mmase/followers","following_url":"https://api.github.com/users/mmase/following{/other_user}","gists_url":"https://api.github.com/users/mmase/gists{/gist_id}","starred_url":"https://api.github.com/users/mmase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmase/subscriptions","organizations_url":"https://api.github.com/users/mmase/orgs","repos_url":"https://api.github.com/users/mmase/repos","events_url":"https://api.github.com/users/mmase/events{/privacy}","received_events_url":"https://api.github.com/users/mmase/received_events","type":"User","site_admin":false},"repo":{"id":58154410,"name":"BeFF","full_name":"mmase/BeFF","owner":{"login":"mmase","id":753529,"avatar_url":"https://avatars.githubusercontent.com/u/753529?v=3","gravatar_id":"","url":"https://api.github.com/users/mmase","html_url":"https://github.com/mmase","followers_url":"https://api.github.com/users/mmase/followers","following_url":"https://api.github.com/users/mmase/following{/other_user}","gists_url":"https://api.github.com/users/mmase/gists{/gist_id}","starred_url":"https://api.github.com/users/mmase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmase/subscriptions","organizations_url":"https://api.github.com/users/mmase/orgs","repos_url":"https://api.github.com/users/mmase/repos","events_url":"https://api.github.com/users/mmase/events{/privacy}","received_events_url":"https://api.github.com/users/mmase/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mmase/BeFF","description":"Behance Frontend Framework","fork":true,"url":"https://api.github.com/repos/mmase/BeFF","forks_url":"https://api.github.com/repos/mmase/BeFF/forks","keys_url":"https://api.github.com/repos/mmase/BeFF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmase/BeFF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmase/BeFF/teams","hooks_url":"https://api.github.com/repos/mmase/BeFF/hooks","issue_events_url":"https://api.github.com/repos/mmase/BeFF/issues/events{/number}","events_url":"https://api.github.com/repos/mmase/BeFF/events","assignees_url":"https://api.github.com/repos/mmase/BeFF/assignees{/user}","branches_url":"https://api.github.com/repos/mmase/BeFF/branches{/branch}","tags_url":"https://api.github.com/repos/mmase/BeFF/tags","blobs_url":"https://api.github.com/repos/mmase/BeFF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmase/BeFF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmase/BeFF/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmase/BeFF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmase/BeFF/statuses/{sha}","languages_url":"https://api.github.com/repos/mmase/BeFF/languages","stargazers_url":"https://api.github.com/repos/mmase/BeFF/stargazers","contributors_url":"https://api.github.com/repos/mmase/BeFF/contributors","subscribers_url":"https://api.github.com/repos/mmase/BeFF/subscribers","subscription_url":"https://api.github.com/repos/mmase/BeFF/subscription","commits_url":"https://api.github.com/repos/mmase/BeFF/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmase/BeFF/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmase/BeFF/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmase/BeFF/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmase/BeFF/contents/{+path}","compare_url":"https://api.github.com/repos/mmase/BeFF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmase/BeFF/merges","archive_url":"https://api.github.com/repos/mmase/BeFF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmase/BeFF/downloads","issues_url":"https://api.github.com/repos/mmase/BeFF/issues{/number}","pulls_url":"https://api.github.com/repos/mmase/BeFF/pulls{/number}","milestones_url":"https://api.github.com/repos/mmase/BeFF/milestones{/number}","notifications_url":"https://api.github.com/repos/mmase/BeFF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmase/BeFF/labels{/name}","releases_url":"https://api.github.com/repos/mmase/BeFF/releases{/id}","deployments_url":"https://api.github.com/repos/mmase/BeFF/deployments","created_at":"2016-05-05T19:12:38Z","updated_at":"2016-05-05T19:12:39Z","pushed_at":"2016-06-20T15:38:18Z","git_url":"git://github.com/mmase/BeFF.git","ssh_url":"git@github.com:mmase/BeFF.git","clone_url":"https://github.com/mmase/BeFF.git","svn_url":"https://github.com/mmase/BeFF","homepage":null,"size":1170,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"behance:master","ref":"master","sha":"82e409af11d3734384021e407a30ee763f3b9170","user":{"login":"behance","id":1197743,"avatar_url":"https://avatars.githubusercontent.com/u/1197743?v=3","gravatar_id":"","url":"https://api.github.com/users/behance","html_url":"https://github.com/behance","followers_url":"https://api.github.com/users/behance/followers","following_url":"https://api.github.com/users/behance/following{/other_user}","gists_url":"https://api.github.com/users/behance/gists{/gist_id}","starred_url":"https://api.github.com/users/behance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behance/subscriptions","organizations_url":"https://api.github.com/users/behance/orgs","repos_url":"https://api.github.com/users/behance/repos","events_url":"https://api.github.com/users/behance/events{/privacy}","received_events_url":"https://api.github.com/users/behance/received_events","type":"Organization","site_admin":false},"repo":{"id":19325681,"name":"BeFF","full_name":"behance/BeFF","owner":{"login":"behance","id":1197743,"avatar_url":"https://avatars.githubusercontent.com/u/1197743?v=3","gravatar_id":"","url":"https://api.github.com/users/behance","html_url":"https://github.com/behance","followers_url":"https://api.github.com/users/behance/followers","following_url":"https://api.github.com/users/behance/following{/other_user}","gists_url":"https://api.github.com/users/behance/gists{/gist_id}","starred_url":"https://api.github.com/users/behance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behance/subscriptions","organizations_url":"https://api.github.com/users/behance/orgs","repos_url":"https://api.github.com/users/behance/repos","events_url":"https://api.github.com/users/behance/events{/privacy}","received_events_url":"https://api.github.com/users/behance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/behance/BeFF","description":"Behance Frontend Framework","fork":false,"url":"https://api.github.com/repos/behance/BeFF","forks_url":"https://api.github.com/repos/behance/BeFF/forks","keys_url":"https://api.github.com/repos/behance/BeFF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/behance/BeFF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/behance/BeFF/teams","hooks_url":"https://api.github.com/repos/behance/BeFF/hooks","issue_events_url":"https://api.github.com/repos/behance/BeFF/issues/events{/number}","events_url":"https://api.github.com/repos/behance/BeFF/events","assignees_url":"https://api.github.com/repos/behance/BeFF/assignees{/user}","branches_url":"https://api.github.com/repos/behance/BeFF/branches{/branch}","tags_url":"https://api.github.com/repos/behance/BeFF/tags","blobs_url":"https://api.github.com/repos/behance/BeFF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/behance/BeFF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/behance/BeFF/git/refs{/sha}","trees_url":"https://api.github.com/repos/behance/BeFF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/behance/BeFF/statuses/{sha}","languages_url":"https://api.github.com/repos/behance/BeFF/languages","stargazers_url":"https://api.github.com/repos/behance/BeFF/stargazers","contributors_url":"https://api.github.com/repos/behance/BeFF/contributors","subscribers_url":"https://api.github.com/repos/behance/BeFF/subscribers","subscription_url":"https://api.github.com/repos/behance/BeFF/subscription","commits_url":"https://api.github.com/repos/behance/BeFF/commits{/sha}","git_commits_url":"https://api.github.com/repos/behance/BeFF/git/commits{/sha}","comments_url":"https://api.github.com/repos/behance/BeFF/comments{/number}","issue_comment_url":"https://api.github.com/repos/behance/BeFF/issues/comments{/number}","contents_url":"https://api.github.com/repos/behance/BeFF/contents/{+path}","compare_url":"https://api.github.com/repos/behance/BeFF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/behance/BeFF/merges","archive_url":"https://api.github.com/repos/behance/BeFF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/behance/BeFF/downloads","issues_url":"https://api.github.com/repos/behance/BeFF/issues{/number}","pulls_url":"https://api.github.com/repos/behance/BeFF/pulls{/number}","milestones_url":"https://api.github.com/repos/behance/BeFF/milestones{/number}","notifications_url":"https://api.github.com/repos/behance/BeFF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/behance/BeFF/labels{/name}","releases_url":"https://api.github.com/repos/behance/BeFF/releases{/id}","deployments_url":"https://api.github.com/repos/behance/BeFF/deployments","created_at":"2014-04-30T20:06:04Z","updated_at":"2016-06-03T00:02:53Z","pushed_at":"2016-06-20T15:38:48Z","git_url":"git://github.com/behance/BeFF.git","ssh_url":"git@github.com:behance/BeFF.git","clone_url":"https://github.com/behance/BeFF.git","svn_url":"https://github.com/behance/BeFF","homepage":null,"size":1648,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":9,"forks":18,"open_issues":9,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/behance/BeFF/pulls/147"},"html":{"href":"https://github.com/behance/BeFF/pull/147"},"issue":{"href":"https://api.github.com/repos/behance/BeFF/issues/147"},"comments":{"href":"https://api.github.com/repos/behance/BeFF/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/behance/BeFF/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/behance/BeFF/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/behance/BeFF/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/behance/BeFF/statuses/a4fff643c1000ade9f0c6ae1e9b991dd27a19b53"}}}}
{"actor":{"display_login":"mmase"}}