[LH4703 |LH4704] Bug: "Replace All" with "whole word" replaces partial words

Posts: 2
Joined: Tue Sep 22, 2020 2:30 pm
Platform: Windows

Tue Sep 22, 2020 2:39 pm Post

If you choose "whole word" as the find option and do a "replace all", it will replace partial words.

Example, I had a document with a character named Grenn (two Ns). In some places I accidentally spelled his name wrong, with one N ("Gren"). I wanted to replace "Gren" with "Grenn", but only whole words. I put "Gren" in the find, "Grenn" in the replace, chose "Whole word" in the "Find Options", and selected "Replace All". It did find all of my "Grens" and turned them to "Grenn", but it also turned my "Grenns" to "Grennn".

This seems to only be a problem with "replace all". If my document only has "Grenn" (two Ns) and I do a search for "Gren" (one N) with "whole word", it does not find anything when using Next and Previous, which is correct. But the "replace all" will still change the "Grenns" to "Grennn".

Posts: 1024
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Tue Sep 22, 2020 11:55 pm Post

Verified. Whole word replaces part of a word.

Worse; I deliberately selected a sentence instead of the whole document, and it replaced throughout the document.
Just another user.

Posts: 78
Joined: Wed Oct 16, 2019 9:09 am
Platform: Windows

Wed Sep 23, 2020 8:07 am Post

Presumably this is a manifestation of the same bug I reported for Project Replace, where 'whole word' matches partial words. I don't remember that ever being officially acknowledged with a bug no.


User avatar
Posts: 9040
Joined: Wed May 05, 2010 5:39 am
Platform: Mac + Windows
Location: city of rain

Wed Sep 23, 2020 9:54 am Post

Thanks! Both issues (whole word replacement via Project Replace and Find's Replace All and the Replace All scope being ignored) have been logged.
Jennifer Hughes
(MM for short)