{"action":"closed","issue":{"url":"https://api.github.com/repos/zk-phi/phi-search/issues/35","labels_url":"https://api.github.com/repos/zk-phi/phi-search/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/zk-phi/phi-search/issues/35/comments","events_url":"https://api.github.com/repos/zk-phi/phi-search/issues/35/events","html_url":"https://github.com/zk-phi/phi-search/issues/35","id":58220242,"number":35,"title":"phi-replace: Whole Word / Regex?","user":{"login":"hrehfeld","id":80887,"avatar_url":"https://avatars.githubusercontent.com/u/80887?v=3","gravatar_id":"","url":"https://api.github.com/users/hrehfeld","html_url":"https://github.com/hrehfeld","followers_url":"https://api.github.com/users/hrehfeld/followers","following_url":"https://api.github.com/users/hrehfeld/following{/other_user}","gists_url":"https://api.github.com/users/hrehfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/hrehfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrehfeld/subscriptions","organizations_url":"https://api.github.com/users/hrehfeld/orgs","repos_url":"https://api.github.com/users/hrehfeld/repos","events_url":"https://api.github.com/users/hrehfeld/events{/privacy}","received_events_url":"https://api.github.com/users/hrehfeld/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-19T15:10:24Z","updated_at":"2015-03-09T09:12:15Z","closed_at":"2015-03-09T09:12:15Z","body":"Maybe I'm missing something, but phi-replace behaves in a really unexpected way for me:\r\n\r\n- it replaces whole words, e.g. in the text \"illumination sentence\" when I use \"illu\" as the search string and \"foo\" as replacement, the result is \"foo sentence\"\r\n- it uses regex, e.g. I have to use \"\\.\" as the search string when trying to match .\r\n\r\nare these bugs or expected behavior? (Some documentation would really be awesome)\r\nHow do I replace substrings only?"}}