{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/atom/language-less/pulls/22","id":26948251,"html_url":"https://github.com/atom/language-less/pull/22","diff_url":"https://github.com/atom/language-less/pull/22.diff","patch_url":"https://github.com/atom/language-less/pull/22.patch","issue_url":"https://api.github.com/repos/atom/language-less/issues/22","number":22,"state":"open","locked":false,"title":"tokenize attribute selector end punctuation","user":{"login":"braver","id":2543659,"avatar_url":"https://avatars.githubusercontent.com/u/2543659?v=3","gravatar_id":"","url":"https://api.github.com/users/braver","html_url":"https://github.com/braver","followers_url":"https://api.github.com/users/braver/followers","following_url":"https://api.github.com/users/braver/following{/other_user}","gists_url":"https://api.github.com/users/braver/gists{/gist_id}","starred_url":"https://api.github.com/users/braver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braver/subscriptions","organizations_url":"https://api.github.com/users/braver/orgs","repos_url":"https://api.github.com/users/braver/repos","events_url":"https://api.github.com/users/braver/events{/privacy}","received_events_url":"https://api.github.com/users/braver/received_events","type":"User","site_admin":false},"body":"While the existing regex matches the `]` at the end of an attribute selector, it isn't assigned a name, which leaves it dangling. Also, wrapping punctuation is usually assigned \"begin\" and \"end\" names.\r\n\r\nbefore:\r\n![before](https://cloud.githubusercontent.com/assets/2543659/5643893/e0b718fc-965d-11e4-8531-1befb281934b.png)\r\n\r\nafter:\r\n![after](https://cloud.githubusercontent.com/assets/2543659/5643892/e0971430-965d-11e4-84c0-82bcd616c968.png)\r\n\r\nSpecs for this package are incomplete so I didn't add any for this change.","created_at":"2015-01-07T10:13:18Z","updated_at":"2015-01-07T10:13:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atom/language-less/pulls/22/commits","review_comments_url":"https://api.github.com/repos/atom/language-less/pulls/22/comments","review_comment_url":"https://api.github.com/repos/atom/language-less/pulls/comments/{number}","comments_url":"https://api.github.com/repos/atom/language-less/issues/22/comments","statuses_url":"https://api.github.com/repos/atom/language-less/statuses/cf6905b5f53f79c5b2581cd41a8016be17f78146","head":{"label":"braver:attribute-selectors","ref":"attribute-selectors","sha":"cf6905b5f53f79c5b2581cd41a8016be17f78146","user":{"login":"braver","id":2543659,"avatar_url":"https://avatars.githubusercontent.com/u/2543659?v=3","gravatar_id":"","url":"https://api.github.com/users/braver","html_url":"https://github.com/braver","followers_url":"https://api.github.com/users/braver/followers","following_url":"https://api.github.com/users/braver/following{/other_user}","gists_url":"https://api.github.com/users/braver/gists{/gist_id}","starred_url":"https://api.github.com/users/braver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braver/subscriptions","organizations_url":"https://api.github.com/users/braver/orgs","repos_url":"https://api.github.com/users/braver/repos","events_url":"https://api.github.com/users/braver/events{/privacy}","received_events_url":"https://api.github.com/users/braver/received_events","type":"User","site_admin":false},"repo":{"id":27049604,"name":"language-less","full_name":"braver/language-less","owner":{"login":"braver","id":2543659,"avatar_url":"https://avatars.githubusercontent.com/u/2543659?v=3","gravatar_id":"","url":"https://api.github.com/users/braver","html_url":"https://github.com/braver","followers_url":"https://api.github.com/users/braver/followers","following_url":"https://api.github.com/users/braver/following{/other_user}","gists_url":"https://api.github.com/users/braver/gists{/gist_id}","starred_url":"https://api.github.com/users/braver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braver/subscriptions","organizations_url":"https://api.github.com/users/braver/orgs","repos_url":"https://api.github.com/users/braver/repos","events_url":"https://api.github.com/users/braver/events{/privacy}","received_events_url":"https://api.github.com/users/braver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/braver/language-less","description":"LESS package for Atom","fork":true,"url":"https://api.github.com/repos/braver/language-less","forks_url":"https://api.github.com/repos/braver/language-less/forks","keys_url":"https://api.github.com/repos/braver/language-less/keys{/key_id}","collaborators_url":"https://api.github.com/repos/braver/language-less/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/braver/language-less/teams","hooks_url":"https://api.github.com/repos/braver/language-less/hooks","issue_events_url":"https://api.github.com/repos/braver/language-less/issues/events{/number}","events_url":"https://api.github.com/repos/braver/language-less/events","assignees_url":"https://api.github.com/repos/braver/language-less/assignees{/user}","branches_url":"https://api.github.com/repos/braver/language-less/branches{/branch}","tags_url":"https://api.github.com/repos/braver/language-less/tags","blobs_url":"https://api.github.com/repos/braver/language-less/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/braver/language-less/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/braver/language-less/git/refs{/sha}","trees_url":"https://api.github.com/repos/braver/language-less/git/trees{/sha}","statuses_url":"https://api.github.com/repos/braver/language-less/statuses/{sha}","languages_url":"https://api.github.com/repos/braver/language-less/languages","stargazers_url":"https://api.github.com/repos/braver/language-less/stargazers","contributors_url":"https://api.github.com/repos/braver/language-less/contributors","subscribers_url":"https://api.github.com/repos/braver/language-less/subscribers","subscription_url":"https://api.github.com/repos/braver/language-less/subscription","commits_url":"https://api.github.com/repos/braver/language-less/commits{/sha}","git_commits_url":"https://api.github.com/repos/braver/language-less/git/commits{/sha}","comments_url":"https://api.github.com/repos/braver/language-less/comments{/number}","issue_comment_url":"https://api.github.com/repos/braver/language-less/issues/comments/{number}","contents_url":"https://api.github.com/repos/braver/language-less/contents/{+path}","compare_url":"https://api.github.com/repos/braver/language-less/compare/{base}...{head}","merges_url":"https://api.github.com/repos/braver/language-less/merges","archive_url":"https://api.github.com/repos/braver/language-less/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/braver/language-less/downloads","issues_url":"https://api.github.com/repos/braver/language-less/issues{/number}","pulls_url":"https://api.github.com/repos/braver/language-less/pulls{/number}","milestones_url":"https://api.github.com/repos/braver/language-less/milestones{/number}","notifications_url":"https://api.github.com/repos/braver/language-less/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/braver/language-less/labels{/name}","releases_url":"https://api.github.com/repos/braver/language-less/releases{/id}","created_at":"2014-11-23T22:01:48Z","updated_at":"2015-01-07T09:25:51Z","pushed_at":"2015-01-07T10:08:50Z","git_url":"git://github.com/braver/language-less.git","ssh_url":"git@github.com:braver/language-less.git","clone_url":"https://github.com/braver/language-less.git","svn_url":"https://github.com/braver/language-less","homepage":null,"size":211,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"atom:master","ref":"master","sha":"22424455d33b797df4ce035f1d01820dd627f219","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":13712206,"name":"language-less","full_name":"atom/language-less","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/language-less","description":"LESS package for Atom","fork":false,"url":"https://api.github.com/repos/atom/language-less","forks_url":"https://api.github.com/repos/atom/language-less/forks","keys_url":"https://api.github.com/repos/atom/language-less/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/language-less/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/language-less/teams","hooks_url":"https://api.github.com/repos/atom/language-less/hooks","issue_events_url":"https://api.github.com/repos/atom/language-less/issues/events{/number}","events_url":"https://api.github.com/repos/atom/language-less/events","assignees_url":"https://api.github.com/repos/atom/language-less/assignees{/user}","branches_url":"https://api.github.com/repos/atom/language-less/branches{/branch}","tags_url":"https://api.github.com/repos/atom/language-less/tags","blobs_url":"https://api.github.com/repos/atom/language-less/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/language-less/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/language-less/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/language-less/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/language-less/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/language-less/languages","stargazers_url":"https://api.github.com/repos/atom/language-less/stargazers","contributors_url":"https://api.github.com/repos/atom/language-less/contributors","subscribers_url":"https://api.github.com/repos/atom/language-less/subscribers","subscription_url":"https://api.github.com/repos/atom/language-less/subscription","commits_url":"https://api.github.com/repos/atom/language-less/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/language-less/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/language-less/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/language-less/issues/comments/{number}","contents_url":"https://api.github.com/repos/atom/language-less/contents/{+path}","compare_url":"https://api.github.com/repos/atom/language-less/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/language-less/merges","archive_url":"https://api.github.com/repos/atom/language-less/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/language-less/downloads","issues_url":"https://api.github.com/repos/atom/language-less/issues{/number}","pulls_url":"https://api.github.com/repos/atom/language-less/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/language-less/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/language-less/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/language-less/labels{/name}","releases_url":"https://api.github.com/repos/atom/language-less/releases{/id}","created_at":"2013-10-20T02:14:10Z","updated_at":"2015-01-06T17:11:47Z","pushed_at":"2015-01-06T17:11:47Z","git_url":"git://github.com/atom/language-less.git","ssh_url":"git@github.com:atom/language-less.git","clone_url":"https://github.com/atom/language-less.git","svn_url":"https://github.com/atom/language-less","homepage":null,"size":475,"stargazers_count":9,"watchers_count":9,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/language-less/pulls/22"},"html":{"href":"https://github.com/atom/language-less/pull/22"},"issue":{"href":"https://api.github.com/repos/atom/language-less/issues/22"},"comments":{"href":"https://api.github.com/repos/atom/language-less/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/language-less/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/language-less/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/atom/language-less/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/atom/language-less/statuses/cf6905b5f53f79c5b2581cd41a8016be17f78146"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}