{"action":"created","issue":{"url":"https://api.github.com/repos/suburi/riety/issues/22","labels_url":"https://api.github.com/repos/suburi/riety/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/suburi/riety/issues/22/comments","events_url":"https://api.github.com/repos/suburi/riety/issues/22/events","html_url":"https://github.com/suburi/riety/pull/22","id":119290150,"number":22,"title":"コマンドに余計な文字がくっついているときは無視させるようにする","user":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/suburi/riety/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-28T12:08:44Z","updated_at":"2015-11-29T17:50:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/suburi/riety/pulls/22","html_url":"https://github.com/suburi/riety/pull/22","diff_url":"https://github.com/suburi/riety/pull/22.diff","patch_url":"https://github.com/suburi/riety/pull/22.patch"},"body":"# 概要\r\n現状の実装だと、たとえば `shiritori` コマンドの場合、`riety shiritoriあいうえお あああ` というように「コマンドに余計な文字がくっついている」場合でも、期待したコマンドとして認識されるようになっています。\r\nこれを、正しい文字列のコマンドを入力されたときのみ認識されるようにします。\r\n\r\n# TODO\r\n- [x] テストを書く\r\n- [x] 既存のコマンドに対応する（正規表現の修正）"},"comment":{"url":"https://api.github.com/repos/suburi/riety/issues/comments/160438092","html_url":"https://github.com/suburi/riety/pull/22#issuecomment-160438092","issue_url":"https://api.github.com/repos/suburi/riety/issues/22","id":160438092,"user":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T17:50:17Z","updated_at":"2015-11-29T17:50:17Z","body":"正規表現の case insensitive については、趣旨が少しずれると判断し今回は入れずにおきました。\r\nWIP をはずしましたので、レビューお願いいたします！"}}