This is the big search and replace fix & refactor. Lots of improvments from François-R Boyer. Search and replace now supports zero length matches properly.
See the discussion thread here: https://sourceforge.net/p/notepad-plus/discussion/331753/thread/77d5ad08/?page=1
The patch can be applied with the GNU patch utility (rename on windows 7+ to patxch.exe to avoid UAC issues)
c:\utils\patxch -i ..\patches\0001-Find-Replace-refactored-and-improved.patch -p 1
Obviously replace ..\patches\0001-Find-Replace-refactored-and-improved.patch with the path to the extracted patch file. Run from the root npp directory.
Patch should apply cleanly to 6.2.3 sources.