{"action":"closed","number":176,"pull_request":{"url":"https://api.github.com/repos/aichaos/rivescript-js/pulls/176","id":87917676,"html_url":"https://github.com/aichaos/rivescript-js/pull/176","diff_url":"https://github.com/aichaos/rivescript-js/pull/176.diff","patch_url":"https://github.com/aichaos/rivescript-js/pull/176.patch","issue_url":"https://api.github.com/repos/aichaos/rivescript-js/issues/176","number":176,"state":"closed","locked":false,"title":"Prevent accidental double-piped wildcard caused by missing array.","user":{"login":"gleuch","id":9039,"avatar_url":"https://avatars.githubusercontent.com/u/9039?v=3","gravatar_id":"","url":"https://api.github.com/users/gleuch","html_url":"https://github.com/gleuch","followers_url":"https://api.github.com/users/gleuch/followers","following_url":"https://api.github.com/users/gleuch/following{/other_user}","gists_url":"https://api.github.com/users/gleuch/gists{/gist_id}","starred_url":"https://api.github.com/users/gleuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gleuch/subscriptions","organizations_url":"https://api.github.com/users/gleuch/orgs","repos_url":"https://api.github.com/users/gleuch/repos","events_url":"https://api.github.com/users/gleuch/events{/privacy}","received_events_url":"https://api.github.com/users/gleuch/received_events","type":"User","site_admin":false},"body":"When an array reference is missing, trigger regexp compiles with a `||` that causes wildcard matches.\r\n\r\nFix strips out any double-pipes in trigger regexp before evaluation.\r\n\r\nTests included.","created_at":"2016-10-04T15:28:31Z","updated_at":"2016-10-04T17:38:19Z","closed_at":"2016-10-04T17:38:18Z","merged_at":"2016-10-04T17:38:18Z","merge_commit_sha":"d85360d45f99181ffdfebeef4ec80081b658c0f1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/aichaos/rivescript-js/pulls/176/commits","review_comments_url":"https://api.github.com/repos/aichaos/rivescript-js/pulls/176/comments","review_comment_url":"https://api.github.com/repos/aichaos/rivescript-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aichaos/rivescript-js/issues/176/comments","statuses_url":"https://api.github.com/repos/aichaos/rivescript-js/statuses/c0355cfb771742c579c19ac76dfc8943bf32e1a9","head":{"label":"gleuch:empty-regexp-pipe-val","ref":"empty-regexp-pipe-val","sha":"c0355cfb771742c579c19ac76dfc8943bf32e1a9","user":{"login":"gleuch","id":9039,"avatar_url":"https://avatars.githubusercontent.com/u/9039?v=3","gravatar_id":"","url":"https://api.github.com/users/gleuch","html_url":"https://github.com/gleuch","followers_url":"https://api.github.com/users/gleuch/followers","following_url":"https://api.github.com/users/gleuch/following{/other_user}","gists_url":"https://api.github.com/users/gleuch/gists{/gist_id}","starred_url":"https://api.github.com/users/gleuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gleuch/subscriptions","organizations_url":"https://api.github.com/users/gleuch/orgs","repos_url":"https://api.github.com/users/gleuch/repos","events_url":"https://api.github.com/users/gleuch/events{/privacy}","received_events_url":"https://api.github.com/users/gleuch/received_events","type":"User","site_admin":false},"repo":{"id":52922503,"name":"rivescript-js","full_name":"gleuch/rivescript-js","owner":{"login":"gleuch","id":9039,"avatar_url":"https://avatars.githubusercontent.com/u/9039?v=3","gravatar_id":"","url":"https://api.github.com/users/gleuch","html_url":"https://github.com/gleuch","followers_url":"https://api.github.com/users/gleuch/followers","following_url":"https://api.github.com/users/gleuch/following{/other_user}","gists_url":"https://api.github.com/users/gleuch/gists{/gist_id}","starred_url":"https://api.github.com/users/gleuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gleuch/subscriptions","organizations_url":"https://api.github.com/users/gleuch/orgs","repos_url":"https://api.github.com/users/gleuch/repos","events_url":"https://api.github.com/users/gleuch/events{/privacy}","received_events_url":"https://api.github.com/users/gleuch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gleuch/rivescript-js","description":" A RiveScript interpreter for JavaScript. RiveScript is a scripting language for chatterbots.","fork":true,"url":"https://api.github.com/repos/gleuch/rivescript-js","forks_url":"https://api.github.com/repos/gleuch/rivescript-js/forks","keys_url":"https://api.github.com/repos/gleuch/rivescript-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gleuch/rivescript-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gleuch/rivescript-js/teams","hooks_url":"https://api.github.com/repos/gleuch/rivescript-js/hooks","issue_events_url":"https://api.github.com/repos/gleuch/rivescript-js/issues/events{/number}","events_url":"https://api.github.com/repos/gleuch/rivescript-js/events","assignees_url":"https://api.github.com/repos/gleuch/rivescript-js/assignees{/user}","branches_url":"https://api.github.com/repos/gleuch/rivescript-js/branches{/branch}","tags_url":"https://api.github.com/repos/gleuch/rivescript-js/tags","blobs_url":"https://api.github.com/repos/gleuch/rivescript-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gleuch/rivescript-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gleuch/rivescript-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/gleuch/rivescript-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gleuch/rivescript-js/statuses/{sha}","languages_url":"https://api.github.com/repos/gleuch/rivescript-js/languages","stargazers_url":"https://api.github.com/repos/gleuch/rivescript-js/stargazers","contributors_url":"https://api.github.com/repos/gleuch/rivescript-js/contributors","subscribers_url":"https://api.github.com/repos/gleuch/rivescript-js/subscribers","subscription_url":"https://api.github.com/repos/gleuch/rivescript-js/subscription","commits_url":"https://api.github.com/repos/gleuch/rivescript-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/gleuch/rivescript-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/gleuch/rivescript-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/gleuch/rivescript-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/gleuch/rivescript-js/contents/{+path}","compare_url":"https://api.github.com/repos/gleuch/rivescript-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gleuch/rivescript-js/merges","archive_url":"https://api.github.com/repos/gleuch/rivescript-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gleuch/rivescript-js/downloads","issues_url":"https://api.github.com/repos/gleuch/rivescript-js/issues{/number}","pulls_url":"https://api.github.com/repos/gleuch/rivescript-js/pulls{/number}","milestones_url":"https://api.github.com/repos/gleuch/rivescript-js/milestones{/number}","notifications_url":"https://api.github.com/repos/gleuch/rivescript-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gleuch/rivescript-js/labels{/name}","releases_url":"https://api.github.com/repos/gleuch/rivescript-js/releases{/id}","deployments_url":"https://api.github.com/repos/gleuch/rivescript-js/deployments","created_at":"2016-03-02T01:08:20Z","updated_at":"2016-03-02T01:08:24Z","pushed_at":"2016-10-04T15:26:17Z","git_url":"git://github.com/gleuch/rivescript-js.git","ssh_url":"git@github.com:gleuch/rivescript-js.git","clone_url":"https://github.com/gleuch/rivescript-js.git","svn_url":"https://github.com/gleuch/rivescript-js","homepage":"https://www.rivescript.com/","size":665,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"aichaos:master","ref":"master","sha":"8f90982333becd10677311c38c315f46efa6c313","user":{"login":"aichaos","id":10762700,"avatar_url":"https://avatars.githubusercontent.com/u/10762700?v=3","gravatar_id":"","url":"https://api.github.com/users/aichaos","html_url":"https://github.com/aichaos","followers_url":"https://api.github.com/users/aichaos/followers","following_url":"https://api.github.com/users/aichaos/following{/other_user}","gists_url":"https://api.github.com/users/aichaos/gists{/gist_id}","starred_url":"https://api.github.com/users/aichaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aichaos/subscriptions","organizations_url":"https://api.github.com/users/aichaos/orgs","repos_url":"https://api.github.com/users/aichaos/repos","events_url":"https://api.github.com/users/aichaos/events{/privacy}","received_events_url":"https://api.github.com/users/aichaos/received_events","type":"Organization","site_admin":false},"repo":{"id":5266682,"name":"rivescript-js","full_name":"aichaos/rivescript-js","owner":{"login":"aichaos","id":10762700,"avatar_url":"https://avatars.githubusercontent.com/u/10762700?v=3","gravatar_id":"","url":"https://api.github.com/users/aichaos","html_url":"https://github.com/aichaos","followers_url":"https://api.github.com/users/aichaos/followers","following_url":"https://api.github.com/users/aichaos/following{/other_user}","gists_url":"https://api.github.com/users/aichaos/gists{/gist_id}","starred_url":"https://api.github.com/users/aichaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aichaos/subscriptions","organizations_url":"https://api.github.com/users/aichaos/orgs","repos_url":"https://api.github.com/users/aichaos/repos","events_url":"https://api.github.com/users/aichaos/events{/privacy}","received_events_url":"https://api.github.com/users/aichaos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aichaos/rivescript-js","description":" A RiveScript interpreter for JavaScript. RiveScript is a scripting language for chatterbots.","fork":false,"url":"https://api.github.com/repos/aichaos/rivescript-js","forks_url":"https://api.github.com/repos/aichaos/rivescript-js/forks","keys_url":"https://api.github.com/repos/aichaos/rivescript-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aichaos/rivescript-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aichaos/rivescript-js/teams","hooks_url":"https://api.github.com/repos/aichaos/rivescript-js/hooks","issue_events_url":"https://api.github.com/repos/aichaos/rivescript-js/issues/events{/number}","events_url":"https://api.github.com/repos/aichaos/rivescript-js/events","assignees_url":"https://api.github.com/repos/aichaos/rivescript-js/assignees{/user}","branches_url":"https://api.github.com/repos/aichaos/rivescript-js/branches{/branch}","tags_url":"https://api.github.com/repos/aichaos/rivescript-js/tags","blobs_url":"https://api.github.com/repos/aichaos/rivescript-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aichaos/rivescript-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aichaos/rivescript-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/aichaos/rivescript-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aichaos/rivescript-js/statuses/{sha}","languages_url":"https://api.github.com/repos/aichaos/rivescript-js/languages","stargazers_url":"https://api.github.com/repos/aichaos/rivescript-js/stargazers","contributors_url":"https://api.github.com/repos/aichaos/rivescript-js/contributors","subscribers_url":"https://api.github.com/repos/aichaos/rivescript-js/subscribers","subscription_url":"https://api.github.com/repos/aichaos/rivescript-js/subscription","commits_url":"https://api.github.com/repos/aichaos/rivescript-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/aichaos/rivescript-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/aichaos/rivescript-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/aichaos/rivescript-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/aichaos/rivescript-js/contents/{+path}","compare_url":"https://api.github.com/repos/aichaos/rivescript-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aichaos/rivescript-js/merges","archive_url":"https://api.github.com/repos/aichaos/rivescript-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aichaos/rivescript-js/downloads","issues_url":"https://api.github.com/repos/aichaos/rivescript-js/issues{/number}","pulls_url":"https://api.github.com/repos/aichaos/rivescript-js/pulls{/number}","milestones_url":"https://api.github.com/repos/aichaos/rivescript-js/milestones{/number}","notifications_url":"https://api.github.com/repos/aichaos/rivescript-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aichaos/rivescript-js/labels{/name}","releases_url":"https://api.github.com/repos/aichaos/rivescript-js/releases{/id}","deployments_url":"https://api.github.com/repos/aichaos/rivescript-js/deployments","created_at":"2012-08-02T00:44:01Z","updated_at":"2016-10-03T09:46:27Z","pushed_at":"2016-10-04T17:38:19Z","git_url":"git://github.com/aichaos/rivescript-js.git","ssh_url":"git@github.com:aichaos/rivescript-js.git","clone_url":"https://github.com/aichaos/rivescript-js.git","svn_url":"https://github.com/aichaos/rivescript-js","homepage":"https://www.rivescript.com/","size":705,"stargazers_count":121,"watchers_count":121,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":27,"forks":36,"open_issues":27,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aichaos/rivescript-js/pulls/176"},"html":{"href":"https://github.com/aichaos/rivescript-js/pull/176"},"issue":{"href":"https://api.github.com/repos/aichaos/rivescript-js/issues/176"},"comments":{"href":"https://api.github.com/repos/aichaos/rivescript-js/issues/176/comments"},"review_comments":{"href":"https://api.github.com/repos/aichaos/rivescript-js/pulls/176/comments"},"review_comment":{"href":"https://api.github.com/repos/aichaos/rivescript-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aichaos/rivescript-js/pulls/176/commits"},"statuses":{"href":"https://api.github.com/repos/aichaos/rivescript-js/statuses/c0355cfb771742c579c19ac76dfc8943bf32e1a9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kirsle","id":1663507,"avatar_url":"https://avatars.githubusercontent.com/u/1663507?v=3","gravatar_id":"","url":"https://api.github.com/users/kirsle","html_url":"https://github.com/kirsle","followers_url":"https://api.github.com/users/kirsle/followers","following_url":"https://api.github.com/users/kirsle/following{/other_user}","gists_url":"https://api.github.com/users/kirsle/gists{/gist_id}","starred_url":"https://api.github.com/users/kirsle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirsle/subscriptions","organizations_url":"https://api.github.com/users/kirsle/orgs","repos_url":"https://api.github.com/users/kirsle/repos","events_url":"https://api.github.com/users/kirsle/events{/privacy}","received_events_url":"https://api.github.com/users/kirsle/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":30,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"kirsle"}}