{"action":"opened","number":3447,"pull_request":{"url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/3447","id":70240329,"html_url":"https://github.com/SimpleMachines/SMF2.1/pull/3447","diff_url":"https://github.com/SimpleMachines/SMF2.1/pull/3447.diff","patch_url":"https://github.com/SimpleMachines/SMF2.1/pull/3447.patch","issue_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/3447","number":3447,"state":"open","locked":false,"title":"Fixes a bug when looking for optional BBC parameters","user":{"login":"Sesquipedalian","id":191731,"avatar_url":"https://avatars.githubusercontent.com/u/191731?v=3","gravatar_id":"","url":"https://api.github.com/users/Sesquipedalian","html_url":"https://github.com/Sesquipedalian","followers_url":"https://api.github.com/users/Sesquipedalian/followers","following_url":"https://api.github.com/users/Sesquipedalian/following{/other_user}","gists_url":"https://api.github.com/users/Sesquipedalian/gists{/gist_id}","starred_url":"https://api.github.com/users/Sesquipedalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sesquipedalian/subscriptions","organizations_url":"https://api.github.com/users/Sesquipedalian/orgs","repos_url":"https://api.github.com/users/Sesquipedalian/repos","events_url":"https://api.github.com/users/Sesquipedalian/events{/privacy}","received_events_url":"https://api.github.com/users/Sesquipedalian/received_events","type":"User","site_admin":false},"body":"- Partially fixes #3434 (the bit about img params)\r\n- Previously, if all parameters for a BBC were optional, the regex to find the parameters would match against an empty string. By ensuring that we don't start with an empty string, we can avoid that situation.\r\n\r\nSigned-off-by: Jon Stovell <jonstovell@gmail.com>","created_at":"2016-05-16T18:38:59Z","updated_at":"2016-05-16T18:38:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/3447/commits","review_comments_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/3447/comments","review_comment_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/3447/comments","statuses_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/statuses/2446d2708e3a35b56bcd331386ad74c11070007d","head":{"label":"Sesquipedalian:img_params","ref":"img_params","sha":"2446d2708e3a35b56bcd331386ad74c11070007d","user":{"login":"Sesquipedalian","id":191731,"avatar_url":"https://avatars.githubusercontent.com/u/191731?v=3","gravatar_id":"","url":"https://api.github.com/users/Sesquipedalian","html_url":"https://github.com/Sesquipedalian","followers_url":"https://api.github.com/users/Sesquipedalian/followers","following_url":"https://api.github.com/users/Sesquipedalian/following{/other_user}","gists_url":"https://api.github.com/users/Sesquipedalian/gists{/gist_id}","starred_url":"https://api.github.com/users/Sesquipedalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sesquipedalian/subscriptions","organizations_url":"https://api.github.com/users/Sesquipedalian/orgs","repos_url":"https://api.github.com/users/Sesquipedalian/repos","events_url":"https://api.github.com/users/Sesquipedalian/events{/privacy}","received_events_url":"https://api.github.com/users/Sesquipedalian/received_events","type":"User","site_admin":false},"repo":{"id":52840685,"name":"SMF2.1","full_name":"Sesquipedalian/SMF2.1","owner":{"login":"Sesquipedalian","id":191731,"avatar_url":"https://avatars.githubusercontent.com/u/191731?v=3","gravatar_id":"","url":"https://api.github.com/users/Sesquipedalian","html_url":"https://github.com/Sesquipedalian","followers_url":"https://api.github.com/users/Sesquipedalian/followers","following_url":"https://api.github.com/users/Sesquipedalian/following{/other_user}","gists_url":"https://api.github.com/users/Sesquipedalian/gists{/gist_id}","starred_url":"https://api.github.com/users/Sesquipedalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sesquipedalian/subscriptions","organizations_url":"https://api.github.com/users/Sesquipedalian/orgs","repos_url":"https://api.github.com/users/Sesquipedalian/repos","events_url":"https://api.github.com/users/Sesquipedalian/events{/privacy}","received_events_url":"https://api.github.com/users/Sesquipedalian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sesquipedalian/SMF2.1","description":"Thoughts, Ideas and bits of code for SMF (2.1)","fork":true,"url":"https://api.github.com/repos/Sesquipedalian/SMF2.1","forks_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/forks","keys_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/teams","hooks_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/hooks","issue_events_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/issues/events{/number}","events_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/events","assignees_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/assignees{/user}","branches_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/branches{/branch}","tags_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/tags","blobs_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/statuses/{sha}","languages_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/languages","stargazers_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/stargazers","contributors_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/contributors","subscribers_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/subscribers","subscription_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/subscription","commits_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/contents/{+path}","compare_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/merges","archive_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/downloads","issues_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/issues{/number}","pulls_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/pulls{/number}","milestones_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/milestones{/number}","notifications_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/labels{/name}","releases_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/releases{/id}","deployments_url":"https://api.github.com/repos/Sesquipedalian/SMF2.1/deployments","created_at":"2016-03-01T02:11:42Z","updated_at":"2016-03-01T02:11:45Z","pushed_at":"2016-05-16T18:38:32Z","git_url":"git://github.com/Sesquipedalian/SMF2.1.git","ssh_url":"git@github.com:Sesquipedalian/SMF2.1.git","clone_url":"https://github.com/Sesquipedalian/SMF2.1.git","svn_url":"https://github.com/Sesquipedalian/SMF2.1","homepage":"","size":34968,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"release-2.1"}},"base":{"label":"SimpleMachines:release-2.1","ref":"release-2.1","sha":"d0dbee9fdda44f242b1279dc894e65c9516bdd41","user":{"login":"SimpleMachines","id":1085746,"avatar_url":"https://avatars.githubusercontent.com/u/1085746?v=3","gravatar_id":"","url":"https://api.github.com/users/SimpleMachines","html_url":"https://github.com/SimpleMachines","followers_url":"https://api.github.com/users/SimpleMachines/followers","following_url":"https://api.github.com/users/SimpleMachines/following{/other_user}","gists_url":"https://api.github.com/users/SimpleMachines/gists{/gist_id}","starred_url":"https://api.github.com/users/SimpleMachines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimpleMachines/subscriptions","organizations_url":"https://api.github.com/users/SimpleMachines/orgs","repos_url":"https://api.github.com/users/SimpleMachines/repos","events_url":"https://api.github.com/users/SimpleMachines/events{/privacy}","received_events_url":"https://api.github.com/users/SimpleMachines/received_events","type":"Organization","site_admin":false},"repo":{"id":3257475,"name":"SMF2.1","full_name":"SimpleMachines/SMF2.1","owner":{"login":"SimpleMachines","id":1085746,"avatar_url":"https://avatars.githubusercontent.com/u/1085746?v=3","gravatar_id":"","url":"https://api.github.com/users/SimpleMachines","html_url":"https://github.com/SimpleMachines","followers_url":"https://api.github.com/users/SimpleMachines/followers","following_url":"https://api.github.com/users/SimpleMachines/following{/other_user}","gists_url":"https://api.github.com/users/SimpleMachines/gists{/gist_id}","starred_url":"https://api.github.com/users/SimpleMachines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimpleMachines/subscriptions","organizations_url":"https://api.github.com/users/SimpleMachines/orgs","repos_url":"https://api.github.com/users/SimpleMachines/repos","events_url":"https://api.github.com/users/SimpleMachines/events{/privacy}","received_events_url":"https://api.github.com/users/SimpleMachines/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SimpleMachines/SMF2.1","description":"Thoughts, Ideas and bits of code for SMF (2.1)","fork":false,"url":"https://api.github.com/repos/SimpleMachines/SMF2.1","forks_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/forks","keys_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/teams","hooks_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/hooks","issue_events_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/events{/number}","events_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/events","assignees_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/assignees{/user}","branches_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/branches{/branch}","tags_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/tags","blobs_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/git/refs{/sha}","trees_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/statuses/{sha}","languages_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/languages","stargazers_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/stargazers","contributors_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/contributors","subscribers_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/subscribers","subscription_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/subscription","commits_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/commits{/sha}","git_commits_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/git/commits{/sha}","comments_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/comments{/number}","issue_comment_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/comments{/number}","contents_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/contents/{+path}","compare_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/merges","archive_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/downloads","issues_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues{/number}","pulls_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls{/number}","milestones_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/milestones{/number}","notifications_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/labels{/name}","releases_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/releases{/id}","deployments_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/deployments","created_at":"2012-01-24T16:36:19Z","updated_at":"2016-05-09T04:51:56Z","pushed_at":"2016-05-16T16:49:22Z","git_url":"git://github.com/SimpleMachines/SMF2.1.git","ssh_url":"git@github.com:SimpleMachines/SMF2.1.git","clone_url":"https://github.com/SimpleMachines/SMF2.1.git","svn_url":"https://github.com/SimpleMachines/SMF2.1","homepage":"","size":40838,"stargazers_count":192,"watchers_count":192,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":164,"mirror_url":null,"open_issues_count":165,"forks":164,"open_issues":165,"watchers":192,"default_branch":"release-2.1"}},"_links":{"self":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/3447"},"html":{"href":"https://github.com/SimpleMachines/SMF2.1/pull/3447"},"issue":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/3447"},"comments":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/3447/comments"},"review_comments":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/3447/comments"},"review_comment":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/3447/commits"},"statuses":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/statuses/2446d2708e3a35b56bcd331386ad74c11070007d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}