Speed up find-and-replace


Hi all,

Yesterday I was trying to find-and-replace with the regexp mode and Atom freeze for a while. It took more than 30 seconds to change $ for ', in a file that had no more than 2000 lines.

It would really awesome to improve this, so Atom can beat S***ime.



An issue is already opened on github: https://github.com/atom/find-and-replace/issues/145