{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip/issues/9883","repository_url":"https://api.github.com/repos/zulip/zulip","labels_url":"https://api.github.com/repos/zulip/zulip/issues/9883/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/9883/comments","events_url":"https://api.github.com/repos/zulip/zulip/issues/9883/events","html_url":"https://github.com/zulip/zulip/issues/9883","id":338140029,"node_id":"MDU6SXNzdWUzMzgxNDAwMjk=","number":9883,"title":"bugdown: Realm filters do not match patterns with leading non-white characters","user":{"login":"fujimotos","id":8974561,"node_id":"MDQ6VXNlcjg5NzQ1NjE=","avatar_url":"https://avatars1.githubusercontent.com/u/8974561?v=4","gravatar_id":"","url":"https://api.github.com/users/fujimotos","html_url":"https://github.com/fujimotos","followers_url":"https://api.github.com/users/fujimotos/followers","following_url":"https://api.github.com/users/fujimotos/following{/other_user}","gists_url":"https://api.github.com/users/fujimotos/gists{/gist_id}","starred_url":"https://api.github.com/users/fujimotos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fujimotos/subscriptions","organizations_url":"https://api.github.com/users/fujimotos/orgs","repos_url":"https://api.github.com/users/fujimotos/repos","events_url":"https://api.github.com/users/fujimotos/events{/privacy}","received_events_url":"https://api.github.com/users/fujimotos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-04T06:01:50Z","updated_at":"2018-07-04T06:21:57Z","closed_at":null,"author_association":"NONE","body":"### Background\r\n\r\nMy company is using Zulip for project management (sales/devs communication etc.)\r\n\r\nSince we often have conversations like \"What is the current status of `#5000`?\" or\r\n\"I attached the file to the ticket `#123`\", we have set up a custom filter to autolink\r\nthe pattern `#<number>`.\r\n\r\n![2018-07-04-140225_537x117_scrot](https://user-images.githubusercontent.com/8974561/42258998-70a35ef8-7f99-11e8-8286-3a3feca080a7.png)\r\n\r\n### Problem\r\n\r\nAutolinking does not work if (non-white) characters are prepended to the pattern\r\n(e.g. 'abc#4000').\r\n\r\nThis behaviour feels very clumsy for us, particularly because we normally communicate\r\nin a language (Japanese) where words are generally not separated by spaces.\r\n\r\nFor an example, we often say something like:\r\n\r\n> \"チケットは`#4000`です\" (trans: \"The ticket is `#4000`\")\r\n\r\n... and Zulip fails to notice the pattern in the sentence.\r\n\r\n### Desired Behaviour\r\n\r\nRealm filters should work for patterns with leading characters."},"comment":{"url":"https://api.github.com/repos/zulip/zulip/issues/comments/402375618","html_url":"https://github.com/zulip/zulip/issues/9883#issuecomment-402375618","issue_url":"https://api.github.com/repos/zulip/zulip/issues/9883","id":402375618,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjM3NTYxOA==","user":{"login":"fujimotos","id":8974561,"node_id":"MDQ6VXNlcjg5NzQ1NjE=","avatar_url":"https://avatars1.githubusercontent.com/u/8974561?v=4","gravatar_id":"","url":"https://api.github.com/users/fujimotos","html_url":"https://github.com/fujimotos","followers_url":"https://api.github.com/users/fujimotos/followers","following_url":"https://api.github.com/users/fujimotos/following{/other_user}","gists_url":"https://api.github.com/users/fujimotos/gists{/gist_id}","starred_url":"https://api.github.com/users/fujimotos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fujimotos/subscriptions","organizations_url":"https://api.github.com/users/fujimotos/orgs","repos_url":"https://api.github.com/users/fujimotos/repos","events_url":"https://api.github.com/users/fujimotos/events{/privacy}","received_events_url":"https://api.github.com/users/fujimotos/received_events","type":"User","site_admin":false},"created_at":"2018-07-04T06:21:57Z","updated_at":"2018-07-04T06:21:57Z","author_association":"NONE","body":"Related: #7740"}}
{"actor":{"display_login":"fujimotos"}}