Editing using alt-r does not distinguish case

Fergus Daly <[email protected]> Sun, 16 Jul 2023 04:02:17 +0000
Newsgroups gmane.editors.nano.general
Message-ID <DB6P18901MB005531DD029530941DC63658A43AA@DB6P18901MB0055.EURP189.PROD.OUTLOOK.COM>
I have a document with many instances of oldword (lc) and Oldword (uc).
I want to change them all to newword and Newword respectively using the conventional Search and Replace.
But trying the usual alt-r oldword to newword <All> replaces Oldword as well.
And trying the usual alt-r Oldword to Newword <All> replaces oldword as well.
I do not want to manage the changes one by one as there are 00s of them. Is there something I can change in Settings or .. ?
Thank you!
Fergus
I find that Search using ctrl-w also does not distinguish case; it would be good if a changed behaviour could be contrived here too.
Any hints?