{"action":"created","issue":{"url":"https://api.github.com/repos/dankelley/nb/issues/14","labels_url":"https://api.github.com/repos/dankelley/nb/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/dankelley/nb/issues/14/comments","events_url":"https://api.github.com/repos/dankelley/nb/issues/14/events","html_url":"https://github.com/dankelley/nb/issues/14","id":58667724,"number":14,"title":"'nb -k' can fail on abbreviated keywords","user":{"login":"dankelley","id":99469,"avatar_url":"https://avatars.githubusercontent.com/u/99469?v=3","gravatar_id":"","url":"https://api.github.com/users/dankelley","html_url":"https://github.com/dankelley","followers_url":"https://api.github.com/users/dankelley/followers","following_url":"https://api.github.com/users/dankelley/following{/other_user}","gists_url":"https://api.github.com/users/dankelley/gists{/gist_id}","starred_url":"https://api.github.com/users/dankelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankelley/subscriptions","organizations_url":"https://api.github.com/users/dankelley/orgs","repos_url":"https://api.github.com/users/dankelley/repos","events_url":"https://api.github.com/users/dankelley/events{/privacy}","received_events_url":"https://api.github.com/users/dankelley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"dankelley","id":99469,"avatar_url":"https://avatars.githubusercontent.com/u/99469?v=3","gravatar_id":"","url":"https://api.github.com/users/dankelley","html_url":"https://github.com/dankelley","followers_url":"https://api.github.com/users/dankelley/followers","following_url":"https://api.github.com/users/dankelley/following{/other_user}","gists_url":"https://api.github.com/users/dankelley/gists{/gist_id}","starred_url":"https://api.github.com/users/dankelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankelley/subscriptions","organizations_url":"https://api.github.com/users/dankelley/orgs","repos_url":"https://api.github.com/users/dankelley/repos","events_url":"https://api.github.com/users/dankelley/events{/privacy}","received_events_url":"https://api.github.com/users/dankelley/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-23T23:30:36Z","updated_at":"2015-02-23T23:38:15Z","closed_at":"2015-02-23T23:38:15Z","body":"For example:\r\n```\r\nkelley$ nb -k apho\r\nb2bec45: overcome evil [ bible, aphorism ]\r\n  created 2015-02-23 19:28:18 \r\n  Romans 12.21 \"Be not overcome of evil, but overcome evil with good\" KJV\r\n  https://www.biblegateway.com/passage/?search=Romans+12&version=KJV\r\n\r\n\r\nHINT: to see all notes in json format, type \"nb -m json\"\r\nkelley$ nb -k aph\r\nTraceback (most recent call last):\r\n  File \"/Users/kelley/src/nb/nb\", line 347, in <module>\r\n    hash[0] = hash[0][0:7]\r\nIndexError: list index out of range\r\n```"},"comment":{"url":"https://api.github.com/repos/dankelley/nb/issues/comments/75662377","html_url":"https://github.com/dankelley/nb/issues/14#issuecomment-75662377","issue_url":"https://api.github.com/repos/dankelley/nb/issues/14","id":75662377,"user":{"login":"dankelley","id":99469,"avatar_url":"https://avatars.githubusercontent.com/u/99469?v=3","gravatar_id":"","url":"https://api.github.com/users/dankelley","html_url":"https://github.com/dankelley","followers_url":"https://api.github.com/users/dankelley/followers","following_url":"https://api.github.com/users/dankelley/following{/other_user}","gists_url":"https://api.github.com/users/dankelley/gists{/gist_id}","starred_url":"https://api.github.com/users/dankelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankelley/subscriptions","organizations_url":"https://api.github.com/users/dankelley/orgs","repos_url":"https://api.github.com/users/dankelley/repos","events_url":"https://api.github.com/users/dankelley/events{/privacy}","received_events_url":"https://api.github.com/users/dankelley/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T23:38:15Z","updated_at":"2015-02-23T23:38:15Z","body":"Fixed, by relaxing the acy of the fuzzy-match on keywords. (This is argument ``cutoff`` in function ``difflib.get_close_matches()``.)"}}