{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/2711","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/2711/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/2711/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/2711/events","html_url":"https://github.com/Polymer/polymer/pull/2711","id":116187135,"number":2711,"title":"Fix compound binding regex when a binding is preceded with text with { or ]","user":{"login":"JeremybellEU","id":5948271,"avatar_url":"https://avatars.githubusercontent.com/u/5948271?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremybellEU","html_url":"https://github.com/JeremybellEU","followers_url":"https://api.github.com/users/JeremybellEU/followers","following_url":"https://api.github.com/users/JeremybellEU/following{/other_user}","gists_url":"https://api.github.com/users/JeremybellEU/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremybellEU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremybellEU/subscriptions","organizations_url":"https://api.github.com/users/JeremybellEU/orgs","repos_url":"https://api.github.com/users/JeremybellEU/repos","events_url":"https://api.github.com/users/JeremybellEU/events{/privacy}","received_events_url":"https://api.github.com/users/JeremybellEU/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymer/polymer/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-10T19:46:06Z","updated_at":"2015-11-14T17:43:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Polymer/polymer/pulls/2711","html_url":"https://github.com/Polymer/polymer/pull/2711","diff_url":"https://github.com/Polymer/polymer/pull/2711.diff","patch_url":"https://github.com/Polymer/polymer/pull/2711.patch"},"body":"As outlined by @david-saslawsky in [his comment](https://github.com/Polymer/polymer/pull/2705#issuecomment-155527368) another edge-case for the regex is\r\n`[YES]/[NO] {{computeCompound('world', 'username ', 'Hello {0} ')}}`\r\n\r\nTherefore the regex is once again (sorry for the multiple PR's) changed to also cover this edge-case. Updated the original test-case to reflect this change.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5948271/11073659/fca2da58-87eb-11e5-9348-e463932daf35.png)\r\n\r\n@kevinpschaaf PTAL"},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/156724352","html_url":"https://github.com/Polymer/polymer/pull/2711#issuecomment-156724352","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/2711","id":156724352,"user":{"login":"arthurevans","id":1149422,"avatar_url":"https://avatars.githubusercontent.com/u/1149422?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurevans","html_url":"https://github.com/arthurevans","followers_url":"https://api.github.com/users/arthurevans/followers","following_url":"https://api.github.com/users/arthurevans/following{/other_user}","gists_url":"https://api.github.com/users/arthurevans/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurevans/subscriptions","organizations_url":"https://api.github.com/users/arthurevans/orgs","repos_url":"https://api.github.com/users/arthurevans/repos","events_url":"https://api.github.com/users/arthurevans/events{/privacy}","received_events_url":"https://api.github.com/users/arthurevans/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T17:43:34Z","updated_at":"2015-11-14T17:43:34Z","body":"For option #1, couldn't you also put a space between the brackets? I believe \"[ [1, 2, 3], [3, 4, 5] ]\" would passed through unscathed."}}