{"action":"created","issue":{"url":"https://api.github.com/repos/rupa/z/issues/158","labels_url":"https://api.github.com/repos/rupa/z/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/rupa/z/issues/158/comments","events_url":"https://api.github.com/repos/rupa/z/issues/158/events","html_url":"https://github.com/rupa/z/issues/158","id":101093671,"number":158,"title":"Match priority","user":{"login":"kaelzhang","id":352304,"avatar_url":"https://avatars.githubusercontent.com/u/352304?v=3","gravatar_id":"","url":"https://api.github.com/users/kaelzhang","html_url":"https://github.com/kaelzhang","followers_url":"https://api.github.com/users/kaelzhang/followers","following_url":"https://api.github.com/users/kaelzhang/following{/other_user}","gists_url":"https://api.github.com/users/kaelzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/kaelzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaelzhang/subscriptions","organizations_url":"https://api.github.com/users/kaelzhang/orgs","repos_url":"https://api.github.com/users/kaelzhang/repos","events_url":"https://api.github.com/users/kaelzhang/events{/privacy}","received_events_url":"https://api.github.com/users/kaelzhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-14T20:08:03Z","updated_at":"2015-09-21T22:19:16Z","closed_at":null,"body":"## Prefer to match a whole word\r\n```\r\n/path/to/redirect 100\r\n/path/to/red 10\r\n```\r\n\r\nproposal:\r\n```sh\r\n$ z red\r\n$ pwd\r\n/path/to/red\r\n```\r\n\r\n## Match from right to left\r\n```\r\n/path/to/node/abc 100\r\n/path/to/node 10\r\n```\r\n\r\nproposal:\r\n```sh\r\n$ z node\r\n$ pwd\r\n/path/to/node\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rupa/z/issues/comments/142125867","html_url":"https://github.com/rupa/z/issues/158#issuecomment-142125867","issue_url":"https://api.github.com/repos/rupa/z/issues/158","id":142125867,"user":{"login":"webOS101","id":328450,"avatar_url":"https://avatars.githubusercontent.com/u/328450?v=3","gravatar_id":"","url":"https://api.github.com/users/webOS101","html_url":"https://github.com/webOS101","followers_url":"https://api.github.com/users/webOS101/followers","following_url":"https://api.github.com/users/webOS101/following{/other_user}","gists_url":"https://api.github.com/users/webOS101/gists{/gist_id}","starred_url":"https://api.github.com/users/webOS101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webOS101/subscriptions","organizations_url":"https://api.github.com/users/webOS101/orgs","repos_url":"https://api.github.com/users/webOS101/repos","events_url":"https://api.github.com/users/webOS101/events{/privacy}","received_events_url":"https://api.github.com/users/webOS101/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T22:19:16Z","updated_at":"2015-09-21T22:19:16Z","body":"It's also worth noting that I just discovered you can get this functionality by using a regex:\r\n\r\n```\r\n$ z node$\r\n```\r\n\r\nIt's not a prefer, but rather forces it to be the last thing.  Which is good enough for most cases!"}}