{"action":"reopened","issue":{"url":"https://api.github.com/repos/atom/find-and-replace/issues/576","labels_url":"https://api.github.com/repos/atom/find-and-replace/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/atom/find-and-replace/issues/576/comments","events_url":"https://api.github.com/repos/atom/find-and-replace/issues/576/events","html_url":"https://github.com/atom/find-and-replace/issues/576","id":113795751,"number":576,"title":"'whole word' search fails when the string starts with $ (dollar sign)","user":{"login":"a7madgamal","id":939602,"avatar_url":"https://avatars.githubusercontent.com/u/939602?v=3","gravatar_id":"","url":"https://api.github.com/users/a7madgamal","html_url":"https://github.com/a7madgamal","followers_url":"https://api.github.com/users/a7madgamal/followers","following_url":"https://api.github.com/users/a7madgamal/following{/other_user}","gists_url":"https://api.github.com/users/a7madgamal/gists{/gist_id}","starred_url":"https://api.github.com/users/a7madgamal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a7madgamal/subscriptions","organizations_url":"https://api.github.com/users/a7madgamal/orgs","repos_url":"https://api.github.com/users/a7madgamal/repos","events_url":"https://api.github.com/users/a7madgamal/events{/privacy}","received_events_url":"https://api.github.com/users/a7madgamal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-28T11:16:35Z","updated_at":"2015-11-04T01:29:52Z","closed_at":null,"body":"Atom 1.0.19 on Mac\r\n\r\n$example = x;\r\nwhen I search for $example and turn on 'whole word' I get 0 results and when I turn it off works normally.\r\n\r\nAs a node developer and Atom lover, I took a quick look (ok not very quick :D) and found the exact problem. for some reason, regex.exec fail to work when \\b\\$ are next to each other.\r\nthis is from the next function inside text-buffer/lib/match-iterator.js\r\n\r\n```javascript\r\n    Forwards.prototype.next = function() {\r\n      var match, matchEndIndex, matchLength, matchStartIndex, submatch;\r\n      if (match = this.regex.exec(this.text)) {\r\n```\r\n\r\n"}}