{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/605","labels_url":"https://api.github.com/repos/haskell/haskell-mode/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/haskell/haskell-mode/issues/605/comments","events_url":"https://api.github.com/repos/haskell/haskell-mode/issues/605/events","html_url":"https://github.com/haskell/haskell-mode/pull/605","id":70960571,"number":605,"title":"Make regular expressions use character classes","user":{"login":"antalsz","id":4643974,"avatar_url":"https://avatars.githubusercontent.com/u/4643974?v=3","gravatar_id":"","url":"https://api.github.com/users/antalsz","html_url":"https://github.com/antalsz","followers_url":"https://api.github.com/users/antalsz/followers","following_url":"https://api.github.com/users/antalsz/following{/other_user}","gists_url":"https://api.github.com/users/antalsz/gists{/gist_id}","starred_url":"https://api.github.com/users/antalsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antalsz/subscriptions","organizations_url":"https://api.github.com/users/antalsz/orgs","repos_url":"https://api.github.com/users/antalsz/repos","events_url":"https://api.github.com/users/antalsz/events{/privacy}","received_events_url":"https://api.github.com/users/antalsz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-25T19:58:28Z","updated_at":"2015-05-11T06:30:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/haskell/haskell-mode/pulls/605","html_url":"https://github.com/haskell/haskell-mode/pull/605","diff_url":"https://github.com/haskell/haskell-mode/pull/605.diff","patch_url":"https://github.com/haskell/haskell-mode/pull/605.patch"},"body":"Instead of using `A-Z`, `a-z`, `A-Za-z`, and `A-Za-z0-9`, regular expressions for matching Haskell identifiers should use `[:upper:]`, `[:lower:]`, `[:alpha:]`, and `[:alnum:]` (`_`, `'`, and `.` can stay, though.)\r\n\r\nThis pull request doesn't change all such uses – for instance, looking for a `-XExtension` flag is guaranteed to use ASCII, and there are similar output-matching cases – but I hope I got everything syntax-sensitive."},"comment":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/comments/100786514","html_url":"https://github.com/haskell/haskell-mode/pull/605#issuecomment-100786514","issue_url":"https://api.github.com/repos/haskell/haskell-mode/issues/605","id":100786514,"user":{"login":"gracjan","id":917978,"avatar_url":"https://avatars.githubusercontent.com/u/917978?v=3","gravatar_id":"","url":"https://api.github.com/users/gracjan","html_url":"https://github.com/gracjan","followers_url":"https://api.github.com/users/gracjan/followers","following_url":"https://api.github.com/users/gracjan/following{/other_user}","gists_url":"https://api.github.com/users/gracjan/gists{/gist_id}","starred_url":"https://api.github.com/users/gracjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gracjan/subscriptions","organizations_url":"https://api.github.com/users/gracjan/orgs","repos_url":"https://api.github.com/users/gracjan/repos","events_url":"https://api.github.com/users/gracjan/events{/privacy}","received_events_url":"https://api.github.com/users/gracjan/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T06:30:40Z","updated_at":"2015-05-11T06:30:40Z","body":"Good luck with your exams!\r\n\r\nFor the lazy that didn't know the word (like me): http://en.wikipedia.org/wiki/Detritus"}}